Subsections
4.8 EASYCRON - Time-based Job Scheduling
This package was inititated by Stefan Manske
email: fli4l@stephan.manske-net.de and adapted to version 2.1 by
the fli4l-team.
By using OPT_EASYCRON it is possible to execute commands
at designated times by adding them to the config-file.
The following entries are supported:
- OPT_EASYCRON
OPT_EASYCRON='yes'
activates the package
Default setting: OPT_EASYCRON='no'
- EASYCRON_MAIL
- Avoid the sending of unwanted mails by crond.
Default setting: EASYCRON_MAIL='no'
- EASYCRON_N
- The number of commands to be executed by cron.
- EASYCRON_x_CUSTOM
- Those familiar with the settings in crontab may define additional
settings for each entry (like MAILTO, PATH...). Entries have to be
separated by
\\. You should be really
familiar with cron to use this option.
Default setting: EASYCRON_CUSTOM=''
- EASYCRON_x_COMMAND
- Specify the command to be executed in EASYCRON_x_COMMAND,
for example:
EASYCRON_1_COMMAND='echo 1 '>' /dev/console'
- EASYCRON_x_TIME
- specifies execution times according to the cron syntax.
- The computer outputs ``Happy new year!'' to the console
EASYCRON_1_COMMAND = 'echo Happy new year! > /dev/console'
EASYCRON_1_TIME = '0 0 31 12 *'
- xxx will be executed Monday to Friday from 7AM to 8PM Uhr every full hour.
EASYCRON_1_COMMAND = 'xxx'
EASYCRON_1_TIME = '0 7-20 0 * 1-5'
- The router terminates the DSL internet connection each night at 03:40AM
and reestablishes it after 5 seconds.
Device names to be used: pppoe, ippp[1-9], ppp[1-9].
EASYCRON_1_COMMAND = 'fli4lctrl hangup pppoe; sleep 5; fli4lctrl dial pppoe'
EASYCRON_1_TIME = '40 3 * * *'
Further informations on the cron syntax can be found here (german)
- fli4l version > 2.1.0
- for older versions please use opt_easycron version from the OPT-Database
Unzip OPT_EASYCRON to your fli4l directory like any other fli4l opt.
© 2001-2019 The fli4l-Team - 28 April 2019