This commit is contained in:
kyodev 2017-08-17 08:02:52 +02:00
parent c126de203f
commit ebaba2c502
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ fscript_cronAnacron(){
# crontab pour activation horaire anacron
echo "@hourly $user_ /usr/sbin/anacron -t $fileAnacron -S $dirSpool" >> /etc/crontab
service cron restart &>/dev/null || /etc/init.d/cron restart &>/dev/null || f__info "redémarrer cron ou le PC"
[ $(grep "$script" /etc/crontab) ] || echo f__error "inscription crontab" \
[ "$(grep "$script" /etc/crontab)" ] || echo f__error "inscription crontab" \
"certains systèmes semblent poser poser problème, merci de rapporter ce bug à $projet $contact"
;;
remove )