About 2,230,000 results
Open links in new tab
  1. cron - Where is the user crontab stored? - Ask Ubuntu

    If so, you can get a "copy" of your crontab file by doing crontab -l. Pipe that to a file to get a "backup": crontab -l > my-crontab Then you can edit that my-crontab file to add or modify entries, and then …

  2. How do I set up a Cron job? - Ask Ubuntu

    Aug 16, 2010 · 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?

  3. cron - Verify if crontab works - Ask Ubuntu

    Dec 6, 2011 · Although very rare, sometimes cron stops working properly even though the service is running. Here is how to verify that crond is running and stop/start the service. Using systemctl: …

  4. cron - Why crontab scripts are not working? - Ask Ubuntu

    Jan 24, 2011 · 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 …

  5. What is the correct way to edit a crontab file? - Ask Ubuntu

    Apr 16, 2015 · 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 …

  6. cron - run script after reboot - Ask Ubuntu

    Aug 16, 2022 · 2. Use sudo crontab e When you want a script to run with admin privilege via cron, do not put sudo in the script. Remove the existing line using crontab -e. Then use the command: sudo …

  7. 16.04 - crontab -e doesnt save - Ask Ubuntu

    Crontab -e and crontab -l show output from the user's crontab. If you used sudo with crontab -e, use sudo crontab -l to view and similarly and report back.

  8. How can I change the timezone in which a cron job is executed?

    Dec 3, 2021 · Change the time at which a cron job runs (edit the crontab) OR convince the cron job it's being run before a deadline (edit the crontab, set TZ= for the job)? Read man -a crontab.

  9. How can I see/stop current running crontab tasks? - Ask Ubuntu

    How can I see crontab tasks which are in progress? How can I stop crontab tasks which are in progress, manually? Is [this] question about see the current running cron processes? Yes To kill a p...

  10. cron - Running two commands in crontab - Ask Ubuntu

    Mar 7, 2013 · 10 I have this line in my crontab file */1 * * * * espeak 'foo' && espeak 'bar' But only half of it, first command gets executed every minute. While when I write this in the terminal it works like a …