2020-07-18 16:59:37 +01:00

14 lines
235 B
Bash
Executable File

#!/bin/sh
export tmpf=/tmp/cronf.$$
crontab=$PKG_ROOT/bin/crontab
if [ -x $crontab ]; then
$crontab -l | grep -v /mod/bin/chaseget > $tmpf
[ -s $tmpf ] && $crontab $tmpf || $crontab -r
fi
[ -f $tmpf ] && rm -f $tmpf
exit 0