When does /etc/daily.local run?
Can it be that the script only runs delayed if the computer is sleeping and not if it is completely shut down??
iMac, MacBook, Mac OS X (10.5.6)
iMac, MacBook, Mac OS X (10.5.6)
gvde wrote:
When does a shell script in /etc/daily.local run?
I thought it runs at 3:15 AM every day if the computer is on at that time. If it is off, it will run the next time the computer is running. But actually the script (and none of the other /etc/periodic/daily scripts) is never executed.
Can it be that the script only runs delayed if the computer is sleeping and not if it is completely shut down??
you mean scripts in /etc/periodic/daily, right? i have no /etc/daily.local on any of my computers. is this something you added yourself?
I thought it runs at 3:15 AM every day if the computer is on at that time. If it is off, it will run the next time the computer is running. But actually the script (and none of the other /etc/periodic/daily scripts) is never executed.
how do you know that? look in /var/log/daily.out (you can access it from Console). what does it say?
gvde wrote:
you mean scripts in /etc/periodic/daily, right? i have no /etc/daily.local on any of my computers. is this something you added yourself?
/etc/daily.local is standard Apple. It is called from /etc/periodic/daily/500.daily.
I thought it runs at 3:15 AM every day if the computer is on at that time. If it is off, it will run the next time the computer is running. But actually the script (and none of the other /etc/periodic/daily scripts) is never executed.
how do you know that? look in /var/log/daily.out (you can access it from Console). what does it say?
daily.log does not say anything. It is dated January 2nd, 3:15. Nothing since then.
The script currently only appends the output of "date" to a file which is writable for all users. There is nothing in this file added.
gvde wrote:
When does a shell script in /etc/daily.local run? I thought it runs at 3:15 AM every day if the computer is on at that time. If it is off, it will run the next time the computer is running. But actually the script (and none of the other /etc/periodic/daily scripts) is never executed.
Can it be that the script only runs delayed if the computer is sleeping and not if it is completely shut down??
When does /etc/daily.local run?