Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use this option to check and open the root's "crontab" file in order to schedule recursive jobs.

Example:

Image RemovedImage Added


Notes:


# root crontab
#------------------------------------------------------------------------------
# Syntax:
#
# *    *    *    *    * command to execute
# |    |    |    |    |
# |    |    |    |    |
# |    |    |    |    +----- day of week (0 - 6) (0 to 6 are Sunday to Saturday, or use names)
# |    |    |    +---------- month (1 - 12)
# |    |    +--------------- day of month (1 - 31)
# |    +-------------------- hour (0 - 23)
# +------------------------- min (0 - 59)
#
# Checks for license expiration: runs everyday at 09:00 with alert set to 15 days before expiration
0 9 * * * /opt/charon/utils/charon_expchk 15
#
# Monitor unrequested guests stop
* * * * * /opt/charon/utils/charon_mongstop
#
# Log events report
* * * * * /opt/charon/utils/charon_logevent
#

# Logs archiving utility (each Monday 00:00)
0 0 * * 1 /opt/charon/utils/charon_logarchive -keep=60 -zip

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Scheduled jobs details

...

This number of days can be changed using parameter 1 as number of days.

Example for 21 days, running everyday at 08:00AM and 04:00PM (16:00):

0 8,16 * * * /opt/charon/utils/charon_expchk 21

...

The ‘-nomail’ parameter can be used to make the script check if the license dongle can be read: if not or if a timeout is detected, the aksusbd drivers are restarted. This is mainly used for debugging.

Monitor abnormal termination of the guests (charon_mongstop)

This job is active by default, it is recommended not to prevent it from running. It's goal is to send alerts if a guest has been stopped whereas it was not requested.

It is used only with Red Hat Enterprise Linux 6.x.

Red Hat Enterprise Linux 7.x and CentOS 7.x are using systemd feature to monitor service abnormal termination so the corresponding lines will not be added in the crontab.

...

Log events (charon_logevent)

...