How do I Define Regular (Cron) Tasks?

There are two methods available for various batch runs:

1. WordPress’s built-in WP-Cron, which is used to register runs with the wp_schedule_event function.

2. The traditional Linux cron, which can be configured with a SSH connection with the command crontab -e;If you would like to determine the address to which the cron prints are sent, insert the following text on the first row in crontab: MAILTO=info@example.fi. This email feature should not be used for long term debugging, if cron is running with a short interval.

We recommend that you use WordPress's built-in WP-Cron method (Option 1).

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.