• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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