English (United Kingdom)
Knowledge Base  >  Vik Appointments  >  Automated Cron Jobs  >  How to schedule a job with a Cron

The scheduling of a cron job strictly depends on the control panel provided by the server, which can offer an advanced interface to register a cron through a specific form, or more simply via terminal.

The following instructions are a bit abstract and are just a simple representation of how a cron job could be scheduled.

  1. Access your server control panel (e.g. CPanel or Siteworx) in order to schedule a job.
  2. Visit the cron job section and click the button that will be used to create a new schedule.
  3. Select an interval that should be suitable to your needs (e.g. every 30 minutes).
  4. Assign the cron job to the wp-cron.php file located in the root of your website (an absolute path should be used here).

If you have no idea how to schedule a cron job through the control panel of your server, you should contact your hosting provider.

Note that, even if you don't schedule a server cron, the jobs that you created from VikAppointments are still periodically executed, but only in case your website is visited by some users.
A server cron job is indeed used to prevent this limitation, as the server periodically invokes itself, just to simulate a user ping/visit.

Last Update: 2019-07-10
Helpful?

This website uses cookies

This website uses cookies and similar technologies. Some of these technologies are necessary for the proper functioning of the website (Essential). Other technologies are used to evaluate user behavior (Analysis), to integrate external media or for advertising purposes. If you agree, these technologies are activated. For details, please refer to the privacy policy. From this same page you can also update/revoke your consent. If you do not give your consent, only cookies with essential functions will be activated.

We use technologies from the USA on our website. If you give your consent, you therefore consent at the same time to your data being transferred to the USA. We would like to point out that the USA does not have a level of data protection comparable to that of the EU and that any US company can be obliged by state authorities to hand over your data without you having any effective legal protection against this.