Cronjobs

Automate your EasySocial by setting up cronjobs. You will learn all about cronjob settings here.

SiteGround Cronjobs

Cronjobs are scheduled task that runs at the intervals or prdefined times on the server. The purpose of cronjob is to execute series of simple tasks from a script file provided by the user. This cronjob can be done through cPanel in which it offers the user interface as a tool to ease users to setup cronjobs for his site.

Accessing your cPanel

To access the cronjobs section on your cPanel, you just need to click on the crojob icon highlighted in the screenshot below.

Accessing cPanel

Setup Email

Specify an email address at the cron email section to receive notification or status nessages whenever your cronjobs are executed.

Setting up email

Adding a cron job

There are several steps allocated for this section. You'll need to follow the provided steps carefully in order to make your cornjobs working correctly on your site.

  1. Setting Up Cronjob Interval.
    To setting up cronjobs, you'll need to configure the interval at which second do you wish to run the cronjob.

    Cronjob Interval

    • Minutes
      Use this menu to select the number of minutes between running the cronjob or the minute of each hour for which you wish to run the cronjobs.
    • Hour
      Use this menu to select the number of hours between running the cron job, or the hour each day on which you wish to run the cron job.
    • Day
      Use this menu to select the number of days between running the cron job, or the day of the month on which you wish to run the cron job.
    • Month
      *Use this menu to select the number of months between running the cron job, or the month of the year in which you wish to run the cron *
    • Weekday
      Use this menu to select the day(s) of the week on which you wish to run the cron job.
  2. Setting Up Cronjob Command
    In the command field, you'll need to add the correct command for cronjobs to run properly.

  3. Store Cronjobs
    Once you've finished configuring the cronjobs, you'll need to click on Save Crontab button and you're ready to test your cronjob on your site.

    Store cronjobs

    This concludes how to create a cron job in cPanel.