About 50 results
Open links in new tab
  1. Running a cron job manually and immediately - Server Fault

    Nov 18, 2009 · (I have already read How can I test a new cron script ?.) I have a specific problem (cron job doesn't appear to run, or run properly), but the issue is general: I'd like to debug scripts that are c...

  2. Why is my crontab not working, and how can I troubleshoot it?

    First, basic terminology: cron (8) is the daemon that executes scheduled commands. crontab (1) is the program used to modify user crontab (5) files. crontab (5) is a per user file that contains instructions …

  3. What does * * * * * (five asterisks) in a cron file mean?

    The first noncomment line in a legacy crontab file begins with five asterisks: * * * * * ([a_command]) >/dev/null 2>&1 The authors are gone, so I do not know their intent. What does all-wildcards mean to …

  4. Cron - How can I create a cronjob that runs every 15 seconds?

    May 11, 2010 · It seems that Cron doesn't support a seconds interval. What is the easiest way to run a cli script (php) every 15 seconds? Is there a cron tool that works specifically with seconds (then I …

  5. Load users environment variables in a cronjob - Server Fault

    Mar 6, 2015 · How can I load the users environment variables in a cronjob? I have a cronjob which should start a script every minute on my Ubuntu machine: * * * * * /home/user/myscript.sh; In this …

  6. linux - How to send an e-mail after a cron job - Server Fault

    May 11, 2015 · This would have been a great answer if the question had been "How do I get SSMTP to send mail via gmail on FreeBSD". Unfortunately, the question is about cron & mail on Linux.

  7. Cron job to delete all files older than 7 days with extension in a ...

    Jan 8, 2019 · I have a cron job that runs at midnight to delete all .txt files in a folder that are older than 7 days. I can see the job is running, but the files still exist in the folder. I'm new to cron, so ...

  8. Sending cron output to a file with a timestamp in its name

    Feb 26, 2010 · However, when it runs again, it overwrites whatever was previously in the file. How can I get cron to output to a file with a timestamp in its filename? An example filename would be …

  9. Cron Job to copy file from one location to another for new files (daily ...

    Apr 15, 2011 · How do I create a cron job to copy all files that are new within the 1 day span (each day at midnight)? So essentially all files created from the day of to the new folder with all permissions, …

  10. How to configure cron job to run every 2 days at 11PM

    I have a centos server and I want to run a job on it at 11PM every 2 days, how do I do that?