LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-14-2004, 06:56 PM   #1
mofo
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian, Suse
Posts: 17

Rep: Reputation: 0
Question 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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cron job wbatzle Linux - Newbie 2 07-12-2005 04:19 PM
cron job? dr_zayus69 Linux - Newbie 14 12-01-2004 06:16 PM
CRON Job tommytomato Fedora 12 09-13-2004 12:38 AM
Cron Job imanahmadi Linux - Newbie 1 07-03-2003 11:39 PM
Cron job T-Rex Linux - Newbie 1 09-26-2001 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration