This commit is contained in:
kyodev 2017-08-17 08:01:37 +02:00
parent 926fbf6f7c
commit c126de203f
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,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 )