About 50 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 …

  2. cron - Verify if crontab works - Ask Ubuntu

    Dec 6, 2011 · crontab -e and add this line to crontab: * * * * * /bin/bash -l -c 'date >> /tmp/cron-test.txt' this command writes the current date every minute in the cron-test file, you can watch …

  3. 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?

  4. 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 …

  5. 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...

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

    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 …

  7. 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 …

  8. Edit crontab with an editor other than the default - Ask Ubuntu

    Mar 19, 2016 · I would like to edit crontab with vi once. My default editor is nano, and I want to keep it that way. I only want to edit with vi one time. I don't want to change the default to vi …

  9. What is the difference between crontab -e and nano /etc/crontab?

    Feb 21, 2019 · Doing a 'crontab -e' automatically invokes the users editor and performs a basic validity/syntax check when you attempt to exit. Any jobs scheduled using the user crontab are …

  10. How do you set the timezone for crontab? - Ask Ubuntu

    In the example below we want cron to interpret sheduling instructions in the crontab file according to timezone Europe/Paris (replace with your own example). Unlike some other Linux distros, …