You are viewing an old revision of this post, from April 9, 2018 @ 07:27:09. See below for differences between this version and the current revision.

Set a cron job to replace the default WordPress cron

Set your cron time / path to php / path to your php script [php]php /home/mviii/public_html/cms/wp-cron.php?doing_wp_cron >/dev/null 2>&1[/php] Adding  >/dev/null 2>&1 on the end prevents an email from getting sent each time the cron if triggered.

Revisions

  • April 10, 2018 @ 00:51:12 [Current Revision] by PeterLugg
  • April 10, 2018 @ 00:51:12 by PeterLugg
  • April 9, 2018 @ 07:27:09 by PeterLugg

Revision Differences

April 9, 2018 @ 07:27:09Current Revision
Content
 Added: Set your cron time / path to php / path to your php script
Unchanged: [php]php /home/mviii/public_ html/cms/wp-cron.php?doing_wp_cron >/dev/null 2>&1[/php]Unchanged: [php]php /home/mviii/public_ html/cms/wp-cron.php?doing_wp_cron >/dev/null 2>&1[/php]
Unchanged: Adding  >/dev/null 2>&1 on the end prevents an email from getting sent each time the cron if triggered.Unchanged: Adding  >/dev/null 2>&1 on the end prevents an email from getting sent each time the cron if triggered.

Note: Spaces may be added to comparison text to allow better line wrapping.

Tags:

No comments yet.

Leave a Reply