Hi all, I am trying to set up a cron job. I have written my bash script which works well on its own.
when I enter crontab -e, nano opens up a new file for me to edit. i put my line in and go to save it
00 22 * */2 * /path_to_script
(10pm every 2 weeks I hope)
My question is, nano by default wants to save it to the tmp folder. I’m pretty sure that it should not go there. If I try to save it to any etc/cron folder, I need root permissions to save it there.
Does it need a special filename or extension?
If I save it to etc/cron…, won’t this then be a system job, not a user job?
So where do I save it for a user job?
Is the line above the only line I need?
Can I enter multiple lines in one file for each job I want processed?