usercron
Purpose:
-
Create cron file from user editable file
Enter:
-
usercron <filename>
Where:
-
filename
Specify the input filename.
Example:
The following is an example file
#################################
example user cron spec
cleanup specs
file_filter max_age(days) max_files disk_capacity_limit recursive
/data/compressed/a*.hst 14 1000 70% NO
/data/PC_format/b* 60 1000 80% YES
$End of cleanup parameters
enter standard cron format specs below
min(0-59) hour(0-23) date(1-31) month(1-12) day(0-6 with 0=Sun) command
59 23 * * * /bin/xxx
$End
###################################
Reference ‘use cleanup’ for more information on cleanup specs.
All cleanup specs entered will be executed once every hour.
example user cron spec
cleanup specs
file_filter max_age(days) max_files disk_capacity_limit recursive
/data/compressed/a*.hst 14 1000 70% NO
/data/PC_format/b* 60 1000 80% YES
$End of cleanup parameters
enter standard cron format specs below
min(0-59) hour(0-23) date(1-31) month(1-12) day(0-6 with 0=Sun) command
59 23 * * * /bin/xxx
$End
###################################
Reference ‘use cleanup’ for more information on cleanup specs.
All cleanup specs entered will be executed once every hour.
Notes:
-
The user running this task must be allowed to create cron jobs. These users are managed in the /etc/cron.allow file.