Jose Alburquerque
2006-Jan-12 19:09 UTC
[CentOS] Quick crontab question (another cron question!)
Really quickly: Would anyone know how I might add a crontab entry via a script (bash)? I'm attempting to write one to schedule commands at certain times. Is this possible? Thanks. -Jose
Jose Alburquerque wrote:> Really quickly: Would anyone know how I might add a crontab entry via a > script (bash)? I'm attempting to write one to schedule commands at > certain times. Is this possible? Thanks.Are you sure you don't want 'at' instead of cron? (man at) It seems that might be more appropriate based on your description... -te -- Troy Engel | Systems Engineer Fluid, Inc | http://www.fluid.com
Robert Hanson
2006-Jan-12 19:26 UTC
[CentOS] Quick crontab question (another cron question!)
} } Really quickly: Would anyone know how I might add a crontab entry via a } script (bash)? I'm attempting to write one to schedule commands at } certain times. Is this possible? Thanks. } } -Jose if i remember right, i used to make cron looking text files and then as a non-root user you could test it by redirecting that file using the crontab command man crontab will show syntax after you test do a crontab -l will list show the entry if i remember right see if it puts it in the area you desire and modify your thinking and try again i was gonna test it for you and report back yet i dont think it would be too difficult regardless, apologies i dont have more time for it right at this moment - rh -- Robert Hanson - Abba Communications Computer & Internet Services (509) 624-7159 - www.abbacomm.net