I ssh to a server, and want to add some daily jobs (specifially to renew Kerberos tickets even when I log out and I still want my programs in screen or tmux continue to run) to cron. So I run crontab -e
, and add the following,
00 00 * * * kinit -R
00 12 * * * kinit -R
When I save it, I am asked by the editor:
File Name to Write: /tmp/crontab.HMpG7V
Isn't it that the files in /tmp
can be deleted by the OS? Especially after I log out of the server?
Where shall I store my crontab file? Can I save the crontab file under $HOME or some better space?