![Black Box LS1016A Скачать руководство пользователя страница 134](http://html.mh-extra.com/html/black-box/ls1016a/ls1016a_user-manual_2763435134.webp)
CronD
134
BLACK BOX
®
Advanced Console Server
CronD
CronD is a service provided by the BLACK BOX
®
Advanced Console Server system that
allows automatic, periodically-run custom-made scripts. It replaces the need for the same
commands to be run manually.
Parameters Involved and Passed Values
The following parameters are created in the /etc/crontab_files file:
Example:
The name of the shell script with the commands to be executed is
/etc/teste_cron.sh.
The name of the crontab file is
/etc/crontab_tst
and it contains one line:
0-59 * * * * /etc/test_cron.sh
Insert the follow line in the
/etc/crontab
_files:
active root /etc/crontab_tst
Result: CronD will execute the shell script teste_cron.sh with root privileges each minute.
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:
In /etc/crontab, 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 (/etc/crontab_tst).
Содержание LS1016A
Страница 12: ...Table of Contents 12 BLACK BOX Advanced Console Server This page has been left intentionally blank ...
Страница 30: ...Introduction and Overview 30 BLACK BOX Advanced Console Server This page has been left intentionally blank ...
Страница 282: ...Time Zone 282 BLACK BOX Advanced Console Server This page has been left intentionally blank ...
Страница 406: ...Appendix H Web User Management 406 BLACK BOX Advanced Console Server Figure 43 Access Limit List default page ...
Страница 414: ...Appendix H Web User Management 414 BLACK BOX Advanced Console Server This page has been left intentionally blank ...
Страница 439: ...List of Figures User Guide 439 47 Terminal Server diagram 422 48 Ports configured for Dial in Access 424 ...
Страница 440: ...List of Figures 440 BLACK BOX Advanced Console Server This page has been left intentionally blank ...
Страница 449: ...This page has been left intentionally blank ...