3 # Purpose: example for a grml-live buildd cronjob setup
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2 or any later version.
7 ################################################################################
8 # Add something like that to the crontab to execute grml-live buildd
9 # every day at a specific time:
10 # 30 1 * * * /usr/share/grml-live/buildd/cronjob.sh
11 ################################################################################
13 if [ -r /usr/share/grml-live/buildd/buildd_running ] ; then
14 echo "already running instance of grml-live buildd found, exiting.">&2
15 echo "if you think this is not true: rm /usr/share/grml-live/buildd/buildd_running">&2
19 echo $$ > /usr/share/grml-live/buildd/buildd_running
21 /usr/share/grml-live/buildd/grml-live_autobuild_grml64-small_lenny.sh && \
22 /usr/share/grml-live/buildd/grml-live_autobuild_grml64-small_squeeze.sh && \
23 /usr/share/grml-live/buildd/grml-live_autobuild_grml64-small_sid.sh && \
24 /usr/share/grml-live/buildd/grml-live_autobuild_grml-small_lenny.sh && \
25 /usr/share/grml-live/buildd/grml-live_autobuild_grml-small_squeeze.sh && \
26 /usr/share/grml-live/buildd/grml-live_autobuild_grml-small_sid.sh
28 /usr/share/grml-live/buildd/grml-live_autobuild_grml64-medium_lenny.sh && \
29 /usr/share/grml-live/buildd/grml-live_autobuild_grml64-medium_squeeze.sh && \
30 /usr/share/grml-live/buildd/grml-live_autobuild_grml64-medium_sid.sh && \
31 /usr/share/grml-live/buildd/grml-live_autobuild_grml-medium_lenny.sh && \
32 /usr/share/grml-live/buildd/grml-live_autobuild_grml-medium_squeeze.sh && \
33 /usr/share/grml-live/buildd/grml-live_autobuild_grml-medium_sid.sh
35 /usr/share/grml-live/buildd/grml-live_autobuild_grml64-large_lenny.sh && \
36 /usr/share/grml-live/buildd/grml-live_autobuild_grml64-large_squeeze.sh && \
37 /usr/share/grml-live/buildd/grml-live_autobuild_grml64-large_sid.sh && \
38 /usr/share/grml-live/buildd/grml-live_autobuild_grml-large_lenny.sh && \
39 /usr/share/grml-live/buildd/grml-live_autobuild_grml-large_squeeze.sh && \
40 /usr/share/grml-live/buildd/grml-live_autobuild_grml-large_sid.sh
42 /usr/share/grml-live/buildd/upload_isos.sh && \
43 /usr/share/grml-live/buildd/remove_isos.sh
45 rm -f /usr/share/grml-live/buildd/buildd_running
47 ## END OF FILE #################################################################