Sheduler (cron) (ISPmanager)

ISPmanager allows automatic execution of scheduled jobs using Cron. Cron is a daemon that executes commands at specified intervals. Cron jobs are scheduled tasks (commands) that are executed by such daemon at predefined times. A cron job is a series of simple tasks run from a script.

This module can be used to manage your cron jobs: you may add, edit, delete, run cron jobs, and configure the global parameters, such as e-mail address and paths. The module is available only for the root users.

 

  • Module «Cron»
Image:T-bullet.gif View a list of cron jobs
Image:T-new.png Add cron job
Image:T-edit.png Edit cron job parameters
Image:T-delete.png Delete cron job
Image:T-start.png Run cron job
Image:T-attr.png Global cron job settings

View a list of cron jobs

  • Interval - the interval at which you wish to run the cron job.
  • Command - full path to the program that will run automatically.

Add cron job

To add a cron job, click the "New" icon and fill out the form:

Module«Cron»
  • Server time - current server date and time.
  • Command - enter the path to the script you want to run.
  • Period - select the time frame of the cron job.
    • every hour - the cron job will be executed on the selected hours.
    • every day - the cron job will be executed on the selected days at 12:00 p.m.
    • once a week - the cron job will be executed every Sunday.
    • once a month- the cron job will be executed on the selected months.
    • once a year- the cron job will be executed on January, 1.
    • after reboot - the cron job will be executed after every operating system reboot.
    • other - if all the above examples do not meet your needs, you can customize your own period. Once you have chosen the option, you will see the additional fields (Minutes, Hours, Days of month, Months, Days of week):

All - the cron job will be executed every minute (hour, day, month)
Every - the cron job will be executed on the selected minute (hour, day, month)
Selected - enter your settings. For advanced users only.

  • Do not send report by e-mail - check the box if you do not want to receive an email notifying you of a specific cron job. You can provide you e-mail address in the form below.

Edit cron job parameters

To edit the existing cron job parameters, locate the cron job you wish to edit, click the "Edit" icon and modify the settings you want to change.

Delete cron job

To delete a cron job, select it from the list and click the "Delete" icon. Confirm that you want to delete the cron job by clicking OK in the following window.

Run cron job

To check any of the cron jobs, select the one you need from the list and click "Run". In the window that will appear you will see the cron job results.

Global cron job settings

With this function you may customize the global cron jobs. Select the required cron job, click the "Settings" icon and fill out the form:

Module«Cron»

 

  • E-mail address - enter the e-mail address of the user executing the cron job to send notifications about the cron job results.
  • Path - enter the path that will be used to search for the programs to be executed. The default value for a newly created users is "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"

Was this answer helpful?

 Print this Article

Also Read

Applications (ISPmanager)

In this module you can manage a wide range of server applications available to you and...

ISPmanager Lite database structure

This article describes tables of the internal database of ISPmanager Lite. The description is...

Installation of ISPsystem software products from repository

ISPsystem's software products can be installed and updated using OS in-built tools, i.e. using OS...

Administrator accounts. Technical details. (ISPmanager)

While creating a new administrator account, a new system user with the same name is...

Integration with ISPmanager

Add a new user in DNSmanager for each server running ISPmanager. Disable apparmor or...