1 |
Dirk Uys wrote: |
2 |
|
3 |
> I have a problem when running doxygen from a cron job. It seems like |
4 |
> doxygen is simply aborting at an arbitrary point during execution. I |
5 |
> tried to search on the internet, but could not find anything similar |
6 |
> reported. |
7 |
[...] |
8 |
> My cron entry is |
9 |
> 45 * * * * /home/user/script.sh >> /home/user/debug.log |
10 |
|
11 |
I would add a " 2>&1" to the cron entry in order to get stderr output |
12 |
logged, too. Maybe there are error messages you are missing. |
13 |
|
14 |
My cron problems usually come from the PATH being restricted, anthough |
15 |
this shoudl not matter in your case with the script, I think. Anyway, I'd |
16 |
start it with "#!/bin/bash -l" in order to open a login shell, and I |
17 |
would include the "env" command in the script so I can spot differences |
18 |
in the environment. |
19 |
|
20 |
Just some ideas, |
21 |
|
22 |
Wonko |