Örnek:
Her 5 dakikada bir nginx servisini yeniden başlat
crontab -l | { cat; echo "*/5 * * * * systemctl restart nginx"; } | crontab -
muslu kullanıcısı için crontab script ekle.
crontab -u muslu -l | { cat; echo "*/5 * * * * systemctl restart nginx"; } | crontab -u muslu -
Örnek:
Her reboot...
- DeliTurK
- Konu
-
bash crontab add line
ubuntu tek satırda crontab a kayıt eklemek
- Mesaj: 0
- Forum: GNU/Linux