Hi Everyone. I have compiled ROOT classes with my own application using examples in $ROOTSYS/test, everithing works fine when I launch my application from command line. But when I write it in the crontab it doesn’t launch it. I have tried on Debian Linux and Mandriva 2008 the result is same. I don’t know if the problem is in cron or in ROOT, so I’ll be grateful for any help. Thanks.
In the procedure that you specify to crontab you must set the PATH, LD_LIBRARY_PATH env variables. For example
/user/brun/root/stats/cronstats_run > cronstats.log
This is somewhat off-topic, but you should almost always be running a shell script of some sort to setup whatever environment you need when running almost any cron job.