public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] problems running doxygen from cron
@ 2009-01-15  6:36 Dirk Uys
  2009-02-14 15:22 ` Alex Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Dirk Uys @ 2009-01-15  6:36 UTC (permalink / raw
  To: gentoo-user

Hi

I have a problem when running doxygen from a cron job. It seems like
doxygen is simply aborting at an arbitrary point during execution. I
tried to search on the internet, but could not find anything similar
reported.

I have the following script:

<script>
#!/bin/bash
echo `date` >> /home/user/cron.log
/usr/bin/svn update /home/user/source/
/bin/cp /home/user/live_doc /home/user/source/

echo "====== Start Doxygen ======"

/usr/bin/doxygen /home/user/source/live_doc

echo "====== Doxygen completed ======"

/bin/cp -R /home/user/source-doxy/html/* /home/www/source-doxy/

echo "====== Copy completed ======"
</script>

My cron entry is
45 * * * * /home/user/script.sh >> /home/user/debug.log

When I run the script from the command line it works fine and doxygen
executes successfully, but when cron executes the script, doxygen
simply aborts at some point:

<snip from debug.log>
Parsing file /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionlist.cpp...
Preprocessing /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionlist.h...
Parsing file /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionlist.h...
Preprocessing /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionvolumes.cpp...
Parsing file /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionvolumes.cpp...
Preprocessing /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionvolumes.h...
Par
====== Doxygen completed ======
====== Copy completed ======
</snip from debug.log>

I'm using vixie-cron-4.1-r10 and doxygen-1.5.4

Regards
Dirk



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-16  6:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15  6:36 [gentoo-user] problems running doxygen from cron Dirk Uys
2009-02-14 15:22 ` Alex Schuster
2009-02-16  6:40   ` Dirk Uys

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox