by asimjalis · 12y ago · 0 comments
1. You can validate cron jobs and programmatically change or reject some of them. Or maybe just offer a small set of services as a cron job.
2. Once you have a security model you can expose this as a web service and offer cron jobs over the web.
3. You could extend this API to use different implementations of cron. Instead of calling the actual cron you could implement cron in Python or maybe use a cron web service.
$ crontab -e
crontab: installing new crontab
"/tmp/crontab.QhkOLb/crontab":25: bad minute
errors in crontab file, can't install.
Do you want to retry the same edit? (y/n)
2. See better solutions (like Celery) below.