|
- What is the correct way to edit a crontab file? - Ask Ubuntu
crontab -e lets you edit your user crontab without sudo The user crontabs are in var spool cron crontabs which is a directory that cannot be accessed without superuser permission (but in such a way that once cron drops privileges it's still able to read it)
- How do I set up a Cron job? - Ask Ubuntu
I want to schedule a task to run on a regular basis and have heard that Cron is the way to do this How do I add Cron jobs in Ubuntu?
- cron - Why crontab scripts are not working? - Ask Ubuntu
Often, crontab scripts are not executed on schedule or as expected There are numerous reasons for that: wrong crontab notation permissions problem environment variables This community wiki aims to
- Where is the cron crontab log? - Ask Ubuntu
I want to verify that my cron job is executing and at what time I believe there is a log for my sudo crontab -e jobs, but where? I searched google and found recommendations to look in var l
- Crontabs Cron Jobs Not Able to Edit or Create File
Since the crontab application rejected the cronjobs (and told you why), you can be reasonably certain that those jobs have NOT been set Oh, and NEVER try to edit anything in var spool That will always end badly Use the crontab command to create edit a crontab just like the rest of us do
- Add lines to cron from script - Ask Ubuntu
Is there a way to add lines to a user's cron via script? I usually do it using crontab -e, but I would like to automate this task with a shell script
- cron - How to activate this crontab? - Ask Ubuntu
Actually, the best way to use crontab is by using crontab itself: crontab -l # list current crontab entries crontab -e # edit the cron table As soon as you finish editing the crontab (via 'crontab -e'), it is activated, and will fire off whatever was set whenever it was set to fire off Note that the machine must be running for crontab to work If you want something more flexible, you can look
- scheduled - How can I schedule a nightly reboot? - Ask Ubuntu
sudo crontab -e so you can edit the crontab for the root user If you feel better doing it graphically you can install from the Software Center gnome-schedule If you want to modify the gnome-schedule for root user ensure that you run it from terminal: gksudo gnome-schedule Have fun playing around! :) p s : great point sBlatt!
|
|
|