cron job status - how to ?
hi to everyone:
am just trying to understand how cron jobs works, so i add one job than looks like this
0 1,5,9,13,17,21 * * * cd <setidir>; ./setiathome -nice 19 > /dev/null 2> /dev/null
yup, trying to run in auto mode an app called seti@home, then this job is suppossed to run every 4 hours starting from 01:00am to of course 21:00 (right), on <setdir> i overwrite it and put there the full path where i have the seti@home app.
the question is: how do i know if this job is running? | if the app 'setiathome' is running?
i did a 'top' command, and can see any 'setiathome' app running
i also did a 'ps -aux', and none 'setiathome' app is running
cron is running, beacause when i do a 'top' command i get 'crond' running, also i did a 'setup' command and 'crond' is activated at each boot of the machine
well if i understand the parameters on the job is supposed to star at 01am, 05am, 09am, 13pm and so on... i add the job to the crontab file in /etc/ at 17:33 more or less and then reboot the machine, but the app does not appear running (so i have to wait for the next start, in this case 21hr?), also i changed the job to this:
5 * * * * cd <setidir>; ./setiathome -nice 19 > /dev/null 2> /dev/null
so the job can run each 5 minutes, so i wait five minutes and i do a 'top' and 'ps -aux' but the app 'setiathome' does not appear.
i did check man pages and google, not success, maybe i miss something...
what am doing wrong?
any suggestion, tip or answer, would be very appreciated
thx
mofo
=======================
PIII 733Mhz
256Mb
RHL 7.3
Kernel 2.4.18-3
|