1 |
Hi |
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 |
I have the following script: |
9 |
|
10 |
<script> |
11 |
#!/bin/bash |
12 |
echo `date` >> /home/user/cron.log |
13 |
/usr/bin/svn update /home/user/source/ |
14 |
/bin/cp /home/user/live_doc /home/user/source/ |
15 |
|
16 |
echo "====== Start Doxygen ======" |
17 |
|
18 |
/usr/bin/doxygen /home/user/source/live_doc |
19 |
|
20 |
echo "====== Doxygen completed ======" |
21 |
|
22 |
/bin/cp -R /home/user/source-doxy/html/* /home/www/source-doxy/ |
23 |
|
24 |
echo "====== Copy completed ======" |
25 |
</script> |
26 |
|
27 |
My cron entry is |
28 |
45 * * * * /home/user/script.sh >> /home/user/debug.log |
29 |
|
30 |
When I run the script from the command line it works fine and doxygen |
31 |
executes successfully, but when cron executes the script, doxygen |
32 |
simply aborts at some point: |
33 |
|
34 |
<snip from debug.log> |
35 |
Parsing file /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionlist.cpp... |
36 |
Preprocessing /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionlist.h... |
37 |
Parsing file /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionlist.h... |
38 |
Preprocessing /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionvolumes.cpp... |
39 |
Parsing file /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionvolumes.cpp... |
40 |
Preprocessing /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionvolumes.h... |
41 |
Par |
42 |
====== Doxygen completed ====== |
43 |
====== Copy completed ====== |
44 |
</snip from debug.log> |
45 |
|
46 |
I'm using vixie-cron-4.1-r10 and doxygen-1.5.4 |
47 |
|
48 |
Regards |
49 |
Dirk |