• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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