dsjob wrapper script for cron
Posted: Fri Oct 12, 2012 9:19 am
Hello all,
Does anyone have a simple wrapper script sample they can share that is used to run a job from crontab? It would need to source in the DS environment, etc.
doesn't have to be fancy, the main purpose of this is to run a job which needs to be run hourly. It doesn't seem possible to schedule an hourly job using Director without setting up 24 separate shedules: ugly and difficult to maintain in production. a simple crontab entry solves that.
Thanks!
--Ivan
Does anyone have a simple wrapper script sample they can share that is used to run a job from crontab? It would need to source in the DS environment, etc.
doesn't have to be fancy, the main purpose of this is to run a job which needs to be run hourly. It doesn't seem possible to schedule an hourly job using Director without setting up 24 separate shedules: ugly and difficult to maintain in production. a simple crontab entry solves that.
Thanks!
--Ivan