Print Download PDF Send Feedback

Previous

Next

Job Scheduler

You can use Gaia Portal to access cron and schedule regular jobs. You can configure the jobs to run at the dates and times that you specify, or at startup.

Configuring Job Scheduler - Gaia Portal

To schedule jobs:

Step

Description

1

In the navigation tree, click System Management > Job Scheduler.

2

Click Add.

The Add A New Scheduled Job window opens.

3

In the Job Name, enter the name of the job.

Use alphanumeric characters only, and no spaces.

4

In the Command to Run, enter the name of the command.

The command must be a UNIX command.

Note - If you wish to run a Check Point command, then use this syntax (see sk90441):

source /etc/profile.d/CP.sh ; <command>

5

Below the Schedule, select the frequency (Daily, Weekly, Monthly, At startup) for this job.

Where applicable, enter the Time of day for the job, in the 24-hour clock format (HH:MM).

6

Click OK.

The job shows in the Scheduled Jobs table.

7

In E-mail Notification, enter the e-mail address, to which Gaia should send the notifications.

Note - You must also configure a Mail Server.

8

Click Apply.

To delete scheduled jobs:

Step

Description

1

In the navigation tree, click System Management > Job Scheduler.

2

In the Scheduled Jobs table, select the job to delete.

3

Click Delete.

4

Click OK to confirm, or Cancel to abort.

To edit the scheduled jobs:

Step

Description

1

In the navigation tree, click System Management > Job Scheduler.

2

In the scheduled Jobs table, select the job that you want to edit.

3

Click Edit.

The Edit Scheduled Job opens.

4

Enter the changes.

5

Click OK.

Configuring Job Scheduler - Gaia Clish

Description

Use these commands to configure your system to schedule jobs. The jobs run on the dates and times you specify.

You can define an email address, to which Gaia sends the output of the scheduled job.

Syntax

Important - After you add, configure, or delete features, run the save config command to save the settings permanently.

Note - Only the show commands provide an output.

Parameters

Parameter

Description

<Job Name>

The name of the job that will be scheduled.

<Command>

The command that will be scheduled.

recurrence daily time <HH:MM>

Specifies that the job should run once a day - every day, at specified time.

Enter the time of day in the 24-hour clock format - <Hours>:<Minutes>.
Example: 14:35

recurrence monthly month <1-12> days <1-31> time <HH:MM>

Specifies that the job should run once a month - on specified months, on specified dates, and at specified time.

Months are specified by numbers from 1 to 12: January = 1, February = 2, ..., December = 12.

Dates of month are specified by numbers from 1 to 31.

To specify several consequent months, enter their numbers separate by commas.
Example: for January through March, enter 1,2,3

To specify several consequent dates, enter their numbers separate by commas.
Example: for 1st, 2nd and 3rd day of month, enter 1,2,3

recurrence weekly days <1-31> time <HH:MM>

Specifies that the job should run once a week - on specified days of week, and at specified time.

Days of week are specified by numbers from 0 to 6: Sunday = 0, Monday = 1, Tuesday = 2, Wednesday = 3, Thursday = 4, Friday = 5, Saturday = 6.

To specify several consequent days of a week, enter their numbers separate by commas.
Example: for Sunday, Monday, and Tuesday, enter 0,1,2

recurrence system-startup

Specifies that the job should at every system startup.

mailto <Email Address>

Specifies the email address, to which Gaia sends the jobs' results.

Enter one email address for each command. You must also configure a mail server.