分钟错误,crontab文件中的错误,无法安装

时间:2018-12-21 14:19:46

标签: php cron

此错误正在返回

array(2){[0] =>字符串(32)“” /tmp/crontab.txt":0:糟糕的分钟“ [1] =>字符串(38)“ crontab文件中的错误,无法安装。” }

$new_cron = 'MAILTO="" */2  *   *   *   *   /usr/bin/php5 /var/www/vhosts/example.com/streaming.example.com/index.php admin cron2
            MAILTO="" ##    */2 *   *   *   *   /usr/bin/php5 /var/www/vhosts/example.com/streaming.example.com/index.php admin cronnew
            MAILTO="" */15  *   *   *   *   /opt/psa/admin/sbin/fetch_url "https://www.example.com/get_aparat_video"
            MAILTO="admin@example.com" */2  *   *   *   *   /usr/bin/php5 /var/www/vhosts/example.com/streaming.example.com/index.php admin cron3 > /dev/null
            MAILTO="" 0 0,4,8,12,16,20  *   *   *   /usr/bin/php5 /var/www/vhosts/example.com/mywebsite/index.php admin sitemapcreater index
            MAILTO="" ##    */3 *   *   *   *   /opt/psa/admin/sbin/fetch_url "https://www.example.com/admin/autoactive"
            MAILTO="admin@example.com" */2 *     *  *   *   /usr/bin/php5 /var/www/vhosts/example.com/streaming.example.com/index.php admin cron > /dev/null
            MAILTO="" 0 0   *   *   *   /usr/bin/php5 /var/www/vhosts/example.com/mywebsite/index.php members cron';

我没有看到任何微小的错误?我该怎么解决?

0 个答案:

没有答案