# This is an example of an cronjob to intall as the user
# reprepro is running as. It uses the @reboot extension
# of cron to start at system boot time.
# Make sure to edit the paths to the ones you use.

# Or wherever else you want mails to go (should only contain
# failures to start inoticoming as --stderr-to-log is given)
MAILTO=root

@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 {} \;
@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 {} \;
