Debian Codegraph @

examples/cronjob

raw
1 # This is an example of an cronjob to intall as the user
2 # reprepro is running as. It uses the @reboot extension
3 # of cron to start at system boot time.
4 # Make sure to edit the paths to the ones you use.
5
6 # Or wherever else you want mails to go (should only contain
7 # failures to start inoticoming as --stderr-to-log is given)
8 MAILTO=root
9
10 @reboot inoticoming --logfile /home/reprepro/logs/i.log /home/reprepro/i/ --stderr-to-log --stdout-to-log --suffix '.changes' --chdir /home/reprepro reprepro -b /home/reprepro processincoming local {} \;
11 @reboot inoticoming --logfile /home/reprepro/logs/o.log /home/reprepro/incoming/ --stderr-to-log --stdout-to-log --suffix '.changes' --chdir /home/reprepro reprepro -b /home/reprepro processincoming incoming {} \;