1 |
On Wed, 21 Sep 2005 17:11:33 -0400, Matt Randolph wrote: |
2 |
|
3 |
> I have a script in /etc/cron.daily that never runs. It works properly |
4 |
> when run manually and it's been in there for weeks (and a reboot or |
5 |
> two). |
6 |
|
7 |
Does it not run or run and not do anything? The latter can be a path |
8 |
problem, as the cron tasks are not run with the same environment as your |
9 |
shell. If in doubt, do "source /etc/profile" at the start of the script. |
10 |
|
11 |
As someone else said, make sure you chmod +x the script too. |
12 |
|
13 |
|
14 |
-- |
15 |
Neil Bothwick |
16 |
|
17 |
MS-DOS: if you believe in a flat Earth, this is the OS for you. |