Cron Scheduler – ISPmanager

This article will help you to know how to create scheduled tasks in ISPmanager with the help of Cron scheduler.

ISPmanager control panel allows you to create scheduled tasks – Cron. To create Cron scheduled tasks, follow the steps:

  1. As root user, go to Cron jobs.
  2. To add a new task, click Create plan.
    1new
  3. To edit an existing task, highlight the task and click Edit.
    2new
  4. Then fill in all fields in the window that opens:
    1. Command – the path to the executable program.
    2. The frequency is configured in basic or expert mode. When setting the frequency in basic mode, select one of the options from the drop-down list. (Every hour – the task will be executed at the beginning of every hour, Daily – at the beginning of every day, etc.)
      3new
    3. In expert mode, the following format is used:
      • * – completing the task every minute
      • */n – task execution every n minutes (n from 0 to 59)
      • n – task execution with the beginning of the n-th minute
      • a,b,c – execution of the task with the beginning of the specified minutes
    4. By analogy, a schedule is configured for other time parameters – hours (from 0 to 23), days (from 0 to 31), months (from 0 to 12). When specifying the day of the week, the following format is used:
      • 0 – Sunday
      • 6 – Saturday.
        For example, to run the task every 10 minutes, enter like on the screenshot:
        4new
    5. To run the task, first specify the path to the interpreter. For example, to run the ISPmanager backup task daily at 06:10, enter like on the screenshot:
      5new

      The Description field is optional. But it is recommended to indicate at least a summary of the scheduled tasks for the convenience of using the scheduler.
    6. The e-mail address field is also optional. If necessary, you can enter your email address here and uncheck the box next to the Do not send report to e-mail box. So, notifications about the completion of tasks will be sent to the specified mail.

If you have any questions, you can ask them in the online chat in the lower right corner of the site or by ticketing the Techsupport Department.