View Single Post
  #8  
Old February 25th, 2006, 11:37 AM
ElDiabloConCaca's Avatar
ElDiabloConCaca ElDiabloConCaca is online now
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 10,694
Thanks: 3
Thanked 162 Times in 150 Posts
ElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the rough
Quote:
Originally Posted by jbarley
If the scripts were run automatically on their default schedule, their date stamps would vary and their time stamps would indicate executions between 03:15 and 05:30 hours.
The times of execution could be any time, depending on when the computer was first awakened after the script was supposed to run.

Here's mine from today:

-rw-r--r-- 1 root wheel 394469 Feb 25 09:34 /var/log/daily.out
-rw-r--r-- 1 root wheel 1579 Feb 1 12:52 /var/log/monthly.out
-rw-r--r-- 1 root wheel 9415 Feb 25 09:41 /var/log/weekly.out

You can see the times were around 9:30 this morning (right around the time I awoke the computer), and those scripts were run automatically without the need for me to force them to run with 3rd-party software or via a command-line command.

I'm stickin' to my guns and saying that 3rd-party software to run the daily/weekly/monthly cron scripts is useless, since they get run automatically the first chance the system has to run them. Running them twice (once automatically by the system, once again by the user forcing the running of them) is not beneficial at all. Running them manually is also pointless.

If the scripts are not running by themselves without user interaction, then that would indicate a deeper problem. In this case, using 3rd-party software or running the scripts manually is simply a band-aid, and a better course of action would be to hunt down the problem that is preventing them from running automatically.
__________________
Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D
MacBook 2.0GHz Core 2 Duo - White 10.5.6 • 2048MB • 80GB • CD-RW/DVD-ROM
iPhone 3G 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k
http://www.jeffhoppe.com
Reply With Quote