![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cron not running | garric | UNIX for Advanced & Expert Users | 6 | 04-11-2008 08:32 AM |
| Cron not running .. please help | beisaikong | Shell Programming and Scripting | 2 | 07-12-2007 07:05 AM |
| cron job is not running | Suguna | UNIX for Advanced & Expert Users | 3 | 09-28-2006 09:11 AM |
| Cron Job Not Running | nag_sundaram | HP-UX | 1 | 10-17-2005 10:38 AM |
| not running in cron | ajnabi | UNIX for Advanced & Expert Users | 4 | 07-11-2003 02:35 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Cron job not running
Hi All,
I am editing crontab using -e option to add a new job Below is the line 30 * * * * scriptpath This job is not executing every thirty minutes. I have checked, cron daemon is running. What did I miss? Can some one help? I am using cron shell..ksh |
|
||||
|
Quote:
Not loading the .profile does not "stop" a cronjob from executing. It may be that without it the job will not work, but that's not the same thing. If your script produces output it will (normally) go to your mailbox if it's set up. Check your mail to see if there are any errors. A common cause (apart from the daemon not running) of cronjobs not running is that too many jobs are running and new jobs are queued up and the daemon can't start them Code:
/var/log/cron or /var/adm/log/cron or somewhere else depending on your OS |
|
||||
|
I checked /var/log/cron there are no logs being generated. My script itself has its own log. Even its not being created. I am not sure what going wrong.How do I debug whether a cron job is executing or not?
|
|
||||
|
You never said if you were able to run the job manually.
Can you show the actual crontab entry? can you also... Code:
cd /where/my/script/is ls -l script_name ksh -n script_name |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|