WP-o-matic installation

WP-o-matic installation

Posted by: phro
Posted on: 2009-08-13 17:42:00

so im trying to make a cron job so i can run wp-o-matic on wordpress

*/20 * * * * /usr/bin/curl http://www.mydomain.com/wp-content/plugins/wp-o-matic/cron.php?code=07d39f95


but i get an error " This field is for the command only, do not enter cron scheduling information here!"

there is also no user name under the "User (shell users only)" section - what am i doing wrong?

Re: WP-o-matic installation

Posted by: Atropos7
Posted on: 2009-08-13 18:09:00

In reply to:

there is also no user name under the "User (shell users only)" section - what am i doing wrong?


Go to Users -> Manage Users and "Edit" the user. User Account Type needs to be "Shell account - allows SFTP/FTP plus ssh access."

In reply to:

but i get an error " This field is for the command only, do not enter cron scheduling information here!"


*/20 * * * * /usr/bin/curl http://www.mydomain.com/wp-content/plugins/wp-o-matic/cron.php?code=07d39f95

That is a crontab entry, not a command!

The error message explains it all. The Cron Jobs panel is the user-friendly version ("cron for dummies") of executing commands at certain times. And in this version you enter the command in one field and schedule the times using a different field. And then what the panel will do is use that information to add a crontab entry. See DreamHost Wiki - Setting up cron via the DH Control Panel

Customer since 2000 cool openvein.org

Tags: shell userscron jobphp codewordpresswpusr