Hi, is any one can help with the issue about the Scheduled Tasks with new 12 version?
I was use 11 before and there is no problem with Scheduled Tasks, due server reinstallation the Pleask 12 been applied on the new OS.
Use same method as plesk 11 to set up admin account 1st, then customer account.
Recover all the database and files back to new server which is no problem and server can running (website etc)
Only one problem is not running Scheduled Tasks and also not received any emails for error or status of Scheduled Tasks
Environment Fresh installed CENTOS 6.5 + Pleask12
Have set ftp ssh to /bin/bash/
My Scheduled Tasks been set run every mins which likes
1 * * * * * /usr/bin/php -f /var/www/vhosts/DOMIAN-NAME/httpdocs/clients/cronjob.php
and also try
1 * * * * * /usr/bin/php -q /var/www/vhosts/DOMIAN-NAME/httpdocs/clients/cronjob.php
and also try
*/1 * * * * * /usr/bin/php -f /var/www/vhosts/DOMIAN-NAME/httpdocs/clients/cronjob.php
also I have set up email notification to my email address which been tested can received mails from gmail.
Then make the task active.
Problem:
1. Not send any emails to email address been specified( Pleask11 was OK)
2. The task not running every minims (should be call api generate xml file, but now not working no file been generated and no data been transferred.)
3. No error message on website error_logs
4. Been checked /var/log/cron the information shows
Jul 24 22:39:22 SERVERNO1 /usr/bin/crontab[3706]: (root) LIST (sm)
Jul 24 22:40:01 SERVERNO1 crond[2157]: (sm) RELOAD (/var/spool/cron/sm)
Jul 24 22:40:02 SERVERNO1 /usr/bin/crontab[3728]: (root) LIST (sm)
Jul 24 22:42:01 SERVERNO1 CROND[3797]: (root) CMD ([ -x /usr/local/psa/admin/sbin/backupmng ] && /usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1)
Jul 24 22:42:42 SERVERNO1 /usr/bin/crontab[3835]: (root) LIST (sm)
Jul 24 22:42:53 SERVERNO1 /usr/bin/crontab[3844]: (root) LIST (sm)
Jul 24 22:43:00 SERVERNO1 /usr/bin/crontab[3851]: (root) LIST (sm)
Jul 24 22:43:00 SERVERNO1 /usr/bin/crontab[3853]: (root) REPLACE (sm)
Jul 24 22:43:00 SERVERNO1 /usr/bin/crontab[3857]: (root) LIST (sm)
Jul 24 22:43:01 SERVERNO1 crond[2157]: (sm) RELOAD (/var/spool/cron/sm)
Jul 24 22:43:02 SERVERNO1 /usr/bin/crontab[3863]: (root) LIST (sm)
Jul 24 22:43:08 SERVERNO1 /usr/bin/crontab[3870]: (root) LIST (sm)
Jul 24 22:43:08 SERVERNO1 /usr/bin/crontab[3872]: (root) REPLACE (sm)
Jul 24 22:43:09 SERVERNO1 /usr/bin/crontab[3876]: (root) LIST (sm)
Jul 24 22:44:01 SERVERNO1 crond[2157]: (sm) RELOAD (/var/spool/cron/sm)
Jul 24 22:46:19 SERVERNO1 /usr/bin/crontab[4744]: (root) LIST (bin)
Jul 24 22:46:23 SERVERNO1 /usr/bin/crontab[4755]: (root) LIST (daemon)
Jul 24 22:46:26 SERVERNO1 /usr/bin/crontab[4760]: (root) LIST (daemon)
Jul 24 22:47:04 SERVERNO1 /usr/bin/crontab[4787]: (root) LIST (sm)
Jul 24 22:47:18 SERVERNO1 /usr/bin/crontab[4791]: (root) LIST (sm)
Jul 24 22:47:21 SERVERNO1 /usr/bin/crontab[4795]: (root) LIST (sm)
Jul 24 22:47:21 SERVERNO1 /usr/bin/crontab[4797]: (root) REPLACE (sm)
Jul 24 22:47:22 SERVERNO1 /usr/bin/crontab[4801]: (root) LIST (sm)
Jul 24 22:48:01 SERVERNO1 crond[2157]: (sm) RELOAD (/var/spool/cron/sm)
Jul 24 22:55:25 SERVERNO1 /usr/bin/crontab[4933]: (root) LIST (sm)
Jul 24 22:55:27 SERVERNO1 /usr/bin/crontab[4945]: (root) LIST (sm)
Jul 24 22:55:28 SERVERNO1 /usr/bin/crontab[4953]: (root) LIST (sm)
Jul 24 22:55:31 SERVERNO1 /usr/bin/crontab[4980]: (root) LIST (sm)
Jul 24 22:57:01 SERVERNO1 CROND[5034]: (root) CMD ([ -x /usr/local/psa/admin/sbin/backupmng ] && /usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1)
Jul 24 23:01:01 SERVERNO1 CROND[5074]: (root) CMD (run-parts /etc/cron.hourly)
Jul 24 23:01:01 SERVERNO1 CROND[5075]: (sm) CMD (/usr/bin/php -f /var/www/vhosts/DOMAIN-NAME/httpdocs/clients/testamazonauto/amazonorderloadwk2.php)
Jul 24 23:01:01 SERVERNO1 run-parts(/etc/cron.hourly)[5074]: starting 0anacron
Jul 24 23:01:01 SERVERNO1 run-parts(/etc/cron.hourly)[5084]: finished 0anacron
Jul 24 23:01:01 SERVERNO1 run-parts(/etc/cron.hourly)[5074]: starting plesk-php-cleanuper
Jul 24 23:01:02 SERVERNO1 run-parts(/etc/cron.hourly)[5102]: finished plesk-php-cleanuper
Jul 24 23:05:01 SERVERNO1 CROND[5120]: (sm) CMD (/usr/bin/php -f /var/www/vhosts/DOMAIN-NAME/httpdocs/clients/cron.php)
NOTE: sm is the user name of the customer.
I was use 11 before and there is no problem with Scheduled Tasks, due server reinstallation the Pleask 12 been applied on the new OS.
Use same method as plesk 11 to set up admin account 1st, then customer account.
Recover all the database and files back to new server which is no problem and server can running (website etc)
Only one problem is not running Scheduled Tasks and also not received any emails for error or status of Scheduled Tasks
Environment Fresh installed CENTOS 6.5 + Pleask12
Have set ftp ssh to /bin/bash/
My Scheduled Tasks been set run every mins which likes
1 * * * * * /usr/bin/php -f /var/www/vhosts/DOMIAN-NAME/httpdocs/clients/cronjob.php
and also try
1 * * * * * /usr/bin/php -q /var/www/vhosts/DOMIAN-NAME/httpdocs/clients/cronjob.php
and also try
*/1 * * * * * /usr/bin/php -f /var/www/vhosts/DOMIAN-NAME/httpdocs/clients/cronjob.php
also I have set up email notification to my email address which been tested can received mails from gmail.
Then make the task active.
Problem:
1. Not send any emails to email address been specified( Pleask11 was OK)
2. The task not running every minims (should be call api generate xml file, but now not working no file been generated and no data been transferred.)
3. No error message on website error_logs
4. Been checked /var/log/cron the information shows
Jul 24 22:39:22 SERVERNO1 /usr/bin/crontab[3706]: (root) LIST (sm)
Jul 24 22:40:01 SERVERNO1 crond[2157]: (sm) RELOAD (/var/spool/cron/sm)
Jul 24 22:40:02 SERVERNO1 /usr/bin/crontab[3728]: (root) LIST (sm)
Jul 24 22:42:01 SERVERNO1 CROND[3797]: (root) CMD ([ -x /usr/local/psa/admin/sbin/backupmng ] && /usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1)
Jul 24 22:42:42 SERVERNO1 /usr/bin/crontab[3835]: (root) LIST (sm)
Jul 24 22:42:53 SERVERNO1 /usr/bin/crontab[3844]: (root) LIST (sm)
Jul 24 22:43:00 SERVERNO1 /usr/bin/crontab[3851]: (root) LIST (sm)
Jul 24 22:43:00 SERVERNO1 /usr/bin/crontab[3853]: (root) REPLACE (sm)
Jul 24 22:43:00 SERVERNO1 /usr/bin/crontab[3857]: (root) LIST (sm)
Jul 24 22:43:01 SERVERNO1 crond[2157]: (sm) RELOAD (/var/spool/cron/sm)
Jul 24 22:43:02 SERVERNO1 /usr/bin/crontab[3863]: (root) LIST (sm)
Jul 24 22:43:08 SERVERNO1 /usr/bin/crontab[3870]: (root) LIST (sm)
Jul 24 22:43:08 SERVERNO1 /usr/bin/crontab[3872]: (root) REPLACE (sm)
Jul 24 22:43:09 SERVERNO1 /usr/bin/crontab[3876]: (root) LIST (sm)
Jul 24 22:44:01 SERVERNO1 crond[2157]: (sm) RELOAD (/var/spool/cron/sm)
Jul 24 22:46:19 SERVERNO1 /usr/bin/crontab[4744]: (root) LIST (bin)
Jul 24 22:46:23 SERVERNO1 /usr/bin/crontab[4755]: (root) LIST (daemon)
Jul 24 22:46:26 SERVERNO1 /usr/bin/crontab[4760]: (root) LIST (daemon)
Jul 24 22:47:04 SERVERNO1 /usr/bin/crontab[4787]: (root) LIST (sm)
Jul 24 22:47:18 SERVERNO1 /usr/bin/crontab[4791]: (root) LIST (sm)
Jul 24 22:47:21 SERVERNO1 /usr/bin/crontab[4795]: (root) LIST (sm)
Jul 24 22:47:21 SERVERNO1 /usr/bin/crontab[4797]: (root) REPLACE (sm)
Jul 24 22:47:22 SERVERNO1 /usr/bin/crontab[4801]: (root) LIST (sm)
Jul 24 22:48:01 SERVERNO1 crond[2157]: (sm) RELOAD (/var/spool/cron/sm)
Jul 24 22:55:25 SERVERNO1 /usr/bin/crontab[4933]: (root) LIST (sm)
Jul 24 22:55:27 SERVERNO1 /usr/bin/crontab[4945]: (root) LIST (sm)
Jul 24 22:55:28 SERVERNO1 /usr/bin/crontab[4953]: (root) LIST (sm)
Jul 24 22:55:31 SERVERNO1 /usr/bin/crontab[4980]: (root) LIST (sm)
Jul 24 22:57:01 SERVERNO1 CROND[5034]: (root) CMD ([ -x /usr/local/psa/admin/sbin/backupmng ] && /usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1)
Jul 24 23:01:01 SERVERNO1 CROND[5074]: (root) CMD (run-parts /etc/cron.hourly)
Jul 24 23:01:01 SERVERNO1 CROND[5075]: (sm) CMD (/usr/bin/php -f /var/www/vhosts/DOMAIN-NAME/httpdocs/clients/testamazonauto/amazonorderloadwk2.php)
Jul 24 23:01:01 SERVERNO1 run-parts(/etc/cron.hourly)[5074]: starting 0anacron
Jul 24 23:01:01 SERVERNO1 run-parts(/etc/cron.hourly)[5084]: finished 0anacron
Jul 24 23:01:01 SERVERNO1 run-parts(/etc/cron.hourly)[5074]: starting plesk-php-cleanuper
Jul 24 23:01:02 SERVERNO1 run-parts(/etc/cron.hourly)[5102]: finished plesk-php-cleanuper
Jul 24 23:05:01 SERVERNO1 CROND[5120]: (sm) CMD (/usr/bin/php -f /var/www/vhosts/DOMAIN-NAME/httpdocs/clients/cron.php)
NOTE: sm is the user name of the customer.