I have an old Ubuntu system. crontab -l
shows that a particular job is running every 30 minutes:
# m h dom mon dow command
30 * * * * ~/scripts/ferc.sh
However, I am unable to find this line in /etc/crontab
or any file in all of the /etc/cron.*
folders.
Where else can cron configuration be kept?
User crontabs are on
/var/spool/cron/crontabs/$USER
For all cron jobs that should be executed under a user's account, you should use
crontab -e
.More at
cron
andcrontab
man pages.Change the default editor with
sudo update-alternatives --config editor
. For just one time you can run for e.g.EDITOR=vim crontab -e
.