Tuesday, 27 August 2013

Is there a way to source cron jobs from a file

Is there a way to source cron jobs from a file

One of our servers has around 20-25 different cron jobs scheduled on it.
Usually, we periodically check-in the cron jobs to a file in the repo
using crontab -l > cron.jobs
While bringing up a new server, which is a replica of the previous server
(in terms of OS and deployed code base), is it possible to source the cron
jobs for the new server from a file containing valid cron jobs?

No comments:

Post a Comment