26 Mayıs 2020 Salı

cron servisi

Giriş
Açıklaması şöyle
cron runs tasks (system or user chosen) which need to be run at regular intervals.
Ayar Dosyaları
Şu dosyaları okur.
/etc/crontab,  /etc/cron.d/* ve /var/spool/cron/cronstabs/*
Her kullanıcının dosyası şöyledir.
cat -v /var/spool/cron/crontabs/{user}
Bu dosyaları düzenlemek için crontab komutu kullanılabilir.

Loglama
Açıklaması şöyle.
The running of jobs is already logged in the cron log in /var/cron/log (the path may differ between systems).
-p seçeneği
Açıklaması şöyle.
-p     Allows Cron to accept any user set crontables.
Açıklaması şöyle.
All crontab files have to be regular files or symlinks to regular files, they must not be executable or writable for anyone else but the owner. This requirement can be overridden by using the -p option on the crond command line.

Hiç yorum yok:

Yorum Gönder