/etc/cron.daily/nightly-pkgsync is in pkgsync 1.25.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #! /bin/sh
# Run pkgsync, logging to /var/log/pkgsync.log. If there is an error, we cat
# the entire file to stdout, so cron will complain to the admin. We don't
# rotate pkgsync.log (yet?) but it will be overwritten every night.
export PATH=/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
if [ -x /usr/sbin/pkgsync ]; then
( pkgsync >/var/log/pkgsync.log 2>&1 ) || cat /var/log/pkgsync.log
fi
|