UPDATE: Crontab file syntax checker?
2007-12-25 2:43:00
In our setup, (Veritas Cluster Server) to make a change to that user's crontab
file, I have to edit a file that lives on the shared storage of the cluster.
VCS is constantly comparing the real crontab file
(/var/spool/cron/crontabs/user) to the VCS crontab file. If it detects a
change, it will copy the changes from the VCS crontab file into the real,
running crontab.
So I'm looking for some kind of utility to look thru a file and make sure its
acceptable to be a crontab file.
Thanks
On Thursday 22 January 2004 08:32 am, Gene Siepka wrote:
> Hey kids,
>
> Ever heard of anything like this?
>
> In this particular environment, I've got a crontab file, with like 400
> lines in it. (Don't get me started, it sucks beyond belief) The crontab
> file is monitored by Veritas Cluster, and cron for this user is setup as a
> service in VCS.
> I've got to make changes to that file it seems like daily, and I've had it
> happen once or twice where if there is a typo in the crontab file, (extra
> comma, blank line.. etc.) VCS freaks out and brings down the cluster.
>
> Anyway is there any utility out there that will read thru a file and make
> sure it is in the proper format for a crontab file?
>
> Thanks!
>
> Gene Siepka
> _______________________________________________
> codeprof mailing list
> codeprof at codeprof.com
> http://www.codeprof.com/execute/ask/?codeinfoid=28212
Comments
Got something to say?
You must be logged in to post a comment.

