The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM



Thread: cron job
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 05-07-2008
sparcguy sparcguy is offline
Registered User
 

Join Date: Nov 2006
Posts: 252
Quote:
Originally Posted by sam.whocares View Post
hi,
how i woulsd be able to find that my cron job is running or not..
E.g abc
inside my root crontab
30 3 * * * [ -x /usr/lib/gss/gsscred_clean ] && /usr/lib/gss/gsscred_clean


To check if the cron is running or not.

vi /var/cron/log

I have an entry that show matching time at 3:30am

> CMD: [ -x /usr/lib/gss/gsscred_clean ] && /usr/lib/gss/gsscred_clean
> root 13382 c Thu May 8 03:30:00 2008
< root 13382 c Thu May 8 03:30:00 2008

it's running.
Reply With Quote