1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Ben Munat wrote: |
5 |
|
6 |
| PS: or maybe there's somewhere that cron puts the output when it can't |
7 |
| mail it? |
8 |
|
9 |
If you're running the script as root, mail it couldn't deliver would be put in |
10 |
/root/dead.letter. |
11 |
|
12 |
| |
13 |
| Jonathan Rogers wrote: |
14 |
| |
15 |
|> |
16 |
|> Yes, the programs in /etc/cron.* are running as root, but probably not |
17 |
|> with exactly the same environment as when you run them from a login |
18 |
|> shell. The cron daemon should mail the output from your script if it |
19 |
|> fails. If you can get the error messages, I might be able to help. |
20 |
|> |
21 |
|> Jonathan Rogers |
22 |
|> |
23 |
|
24 |
|
25 |
- -- |
26 |
Eat drink and be merry, for tomorrow we diet. |
27 |
|
28 |
Aaron Walker < ka0ttic@g.o > http://dev.gentoo.org/~ka0ttic/ |
29 |
Gentoo/BSD | cron | shell-tools http://butsugenjitemple.org/~ka0ttic/ |
30 |
|
31 |
-----BEGIN PGP SIGNATURE----- |
32 |
Version: GnuPG v1.2.6 (GNU/Linux) |
33 |
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org |
34 |
|
35 |
iD8DBQFBlloKC3poscuANHARAja4AJ9qDNISjFWZlpDFd4jIzobQ8uh3rQCguO1t |
36 |
y5+lQ06YyqeK58HvD2zRCpY= |
37 |
=YsZz |
38 |
-----END PGP SIGNATURE----- |