• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Cron Job working on Console, but not automatic in Plesk Taskmanager

sall10

Basic Pleskian
Hello,

i have setup fresh Centos 6.5 with Plesk Pannel 12.0.18. When i execute the attached command from the console, i get it work, some posts are auto created within wordpress. When i enter the attached command within Plesk (Tools / Settings - Taskmanager - root New Task, the command is not executed...

/usr/bin/wget --post-data='id=4&minposts=1&maxposts=3' -O /dev/null http://www.mydomain.com/wp/wp-content/plugins/WPRobot3/cron.php?code=UNIQUEID

I tried also without /usr/bin at the beginning, but its not working with cron automatic, can someone help me with this?

Thanks

Sally
 
Hello Igor,

thanks, i tried the following:

# /usr/local/psa/bin/server_pref --update -crontab-secure-shell ""
SUCCESS: Server preferences are successfully updated

I execute the command via root on console, what worked:

/usr/bin/wget -qq -O /dev/null http://mydomain/wp/wp-content/plugins/WPRobot3/cron.php?code=6ce80845e

Then i add the Command to Plesk Pannel, under Tools / Settings - root, with the times every minute, every day, every week, every month, but command is still not executed. I tried then to add this command directly to /etc/crontab like this:

0/1 * * * * root /usr/bin/wget -qq -O /dev/null http://mydomain.com/wp/wp-content/plugins/WPRobot3/cron.php?code=6ce80845e

Restarted service crond restart

But anyhow, the Task is not automatic running. Its strange, manual its running fine on console, but with the task manager not.

Any other idea, what can i do to get this running?

Thanks,
Sally
 
Back
Top