https://github.com/lrq3000/addcron
A simple Cron job adder, with automatic checking to avoid duplicates
https://github.com/lrq3000/addcron
Last synced: about 2 months ago
JSON representation
A simple Cron job adder, with automatic checking to avoid duplicates
- Host: GitHub
- URL: https://github.com/lrq3000/addcron
- Owner: lrq3000
- Created: 2013-02-17T04:17:24.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-23T20:34:25.000Z (over 12 years ago)
- Last Synced: 2025-08-16T09:44:04.438Z (about 2 months ago)
- Language: Shell
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
addcron
=======A simple Cron job adder, with automatic checking to avoid duplicates
This is mainly an excerpt from the OAMPS script, but it can be used for all purposes, not only game servers.
License
-------
This script is licensed under MIT license.Author
------
Stephen LarroqueUsage
-----Usage: ./$SCRIPTNAME 'crondate' 'crontask' [OPTION]...
Add only once a cron job to execute the specified crontask at a specified crondate interval. Will automatically check for duplicates, so that it will never add twice the same job inside cron.WARNING: only use absolute paths, else cron may not be able to execute the task, and also the check for duplicates will fail.
Note: the duplicates checking will match any shorter crontask, eg: already added crontask 'mycronjob', if you try to add crontask 'mycron' it will be rejected because of being a duplicate.
--verbose Print verbose infos of oamps.sh