If I have a script called teiid.sh set to run daily by a cron job. The scripts purpose is to initialize the startup of teiid.
How would I make a call to test to see the if teiid.sh is working properly with cron, and not just performing endless actions or no action at all?
Example:
@daily * * * * /etc/init.d/teiid.sh jeff@****.edu
Would chkconfig --add /etc/init.d/teiid.sh help with anything at all?
script.shwhy do you have/etc/init.d/teiid.shin your crontab? – Bryan Garza Mar 27 '12 at 20:44teiid.shrun after you boot the computer (seems probable) or make it run every day at midnight (this is what your cronjob would actually do)? – rozcietrzewiacz Mar 27 '12 at 22:54/etc/init.dis not the place to put your daily cron jobs, but where system startup scripts reside. System-wide scripts that should be run daily by cron live under/etc/cron.daily. – rozcietrzewiacz Mar 27 '12 at 23:00