AlterPath ACS Command Reference Guide
157
Administration
5.2 CronD
CronD is a service provided by the ACS system that allows automatic,
periodically-run custom-made scripts. It replaces the need for the same
commands to be run manually.
How to configure
The crond daemon in the ACS has a peculiar way of configuration that is
basically it is divided in three parts:
•
/etc/crontab_files
- The name of this file can’t be changed and it
must point only to ONE file. Further information about it will
be given in the next lines.
•
source file - This file holds information about frequency and
which files should be executed. It can have any name, since it is
pointed out by the
/etc/crontab_files
.
•
script files - These are the script files scheduled and pointed by
the source file explained above.
The following parameters are created in the
/etc/crontab_files
file:
•
status - Active or inactive. If this item is not active, the script
will not be executed.
•
user - The process will be run with the privileges of this user,
who must be a valid local user.
•
source - Pathname of the crontab file that specifies frequency of
execution, the name of shell script, etc. It should be set using
the traditional crontab file format.
Note:
NOTE:
In /etc/crontab_files, you can only have one active entry per user.
For instance, from the example above, you cannot add another active
entry for root because it already has an entry. If you want to add more
scripts, you can just add them to the source file, eg.: (/etc/tst_cron.src).
The
/etc/crontab_files
file can point to any desired file that calls the
scripts to be run. The ACS has example file for it (
/etc/tst_cron.src
). The
active root /etc/tst_cron.src
File Description 5.2: /etc/crontab_files
Содержание AlterPath ACS
Страница 16: ...xvi Table of Contents...
Страница 29: ...13 This page has been left intentionally blank...
Страница 30: ...14 Preface...
Страница 68: ...52 Device Access...
Страница 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Страница 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Страница 114: ...98 Authentication...
Страница 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Страница 268: ...252 Power Management with AlterPath PM Integration...
Страница 304: ...288 PCMCIA Cards Integration...
Страница 338: ...322 Profile Configuration...
Страница 364: ...348 Additional Features and Applications...
Страница 376: ...360 Appendix A New User Background Information...
Страница 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Страница 418: ...402 List of Tables...
Страница 420: ...404 List of Figures...