CF tasks launcher
Task lunched should be implemented for CF using https://github.com/hutnikau/job-scheduler
Format:
php app/bin/cf_launcher.php [-h] [-c CRON_RULE|-i ICALENDAR_RULE] [-l LEFITEME] [-o OUTPUT_FILE] COMMAND
Where:
- -h - help (list of options)
- -c - cron rule string
- -i - iCalendar rule string
- -l - lifetime (seconds) - launcher should die when lifetime is exceed
- -o - files to keep a COMMAND output (STDOUT if not specified)
- COMMAND - command to launch with "exec" function
Launcher launches COMMAND only once if neither cron nor iCalendar rule is specified. In the other case it launches COMMAND according to the specified rules.
Edited by Vitaliy Pylypiv