Cron Jobs

Cron Jobs run by idadm

These cron jobs are run by user idadm on host elbe.acc.bessy.de. The directory with all the scripts is in directory ~idadm/cron.

This is a working copy of a mercurial repository. You can clone the repository with this command:

hg clone ssh://rcsadm@repo.acc.bessy.de//opt/repositories/controls/hg/cron-idadm

As user idadm you can activate the cron jobs with the command:

crontab -e

There is a copy of the file shown in the working copy, named “crontab”. This is how the file looks like (as of 2016-04-18):

# m h  dom mon dow   command
# copy undulator panels to sioux/crow/cree
00 02 * * * $HOME/cron/dist-panels.sh
30 02 * * * $HOME/cron/dist-id_db.sh
0 6 * * * $HOME/cron/boottimes.sh

Panel distribution

The script dist-panels.sh copies the undulator panels to various places.

id_db distribution

The script dist-id_db.sh copies the IDCP Parameters (StructuredData) file with undulator parameters to various places.

Boottimes

This creates an overview of IOC boot times, not just for the undulator IOCs but for many other IOCs of the Bessy controlsystem.