Skip to content

Instantly share code, notes, and snippets.

@sjozsef
Created March 10, 2016 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjozsef/d97f3ab8c375d8350f05 to your computer and use it in GitHub Desktop.
Save sjozsef/d97f3ab8c375d8350f05 to your computer and use it in GitHub Desktop.
How to setup a real cron job for WordPress with Linux Crontab and CURL
crontab -e
*/10 * * * * curl http://example.com/wp-cron.php > /dev/null 2>&1
@kimian
Copy link

kimian commented Mar 15, 2016

Many hosting doesn't provide adequate Cron function, you can do it with my plugin:
https://wordpress.org/plugins/easycron/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment