Tiempo estimado de lectura: 1 minutos

How do I set up a cron job or cron task?

You can set up a cron job or “scheduled job” in the Cron Jobs option in the Advanced section of the server administration panel:

How to create a scheduled task?

Cron jobs are commands or jobs that are set up to run on a regular basis. They can be configured to run at minute intervals, or at the same time every hour, day or month.

Which command do you want to execute?

Typically, this is something like a WGET to a certain domain name or a PHP script. If you want to run a specific file, such as the WordPress cron, you will need to use the correct version of PHP for the Web. To select a particular version of PHP to execute the command, use the commands on the right side of the screen.

How often do you need your cron to run?

This is selected in the drop-down boxes below where you enter the command. You can use the first box to run it every 5, 10, 15 minutes or you can be more specific and select specific minutes of the hour, hours of the day or days of the month to run the cron.

What do you mean by sending emails when a cron is run?

If you wish, an email will be sent if the cron produces an output, so if the cron does not produce anything no email will be sent.

¿Te ha sido util esta lección? Vota para poder enviarnos tu Feedback
No me gusta 0 0 de 0 han encontrado esta lección util.
Vistas: 20

Still have doubts?

We don't, we want to help you

Contact Us

2022 ©️ WAOPRESS. ALL RIGHTS RESERVED. PRIVACY | LEGAL NOTICE | COOKIE POLICIES | HOLA@WAOPRESS.COM