Questions tagged [crontab]

Command used to schedule commands to be executed periodically. It reads a series of commands from standard input and collects them into a file known as a "crontab" which is later read and whose instructions are carried out.

34 questions
4
votes
2 answers

Is it bad to have a long list in my crontab?

I'm toying around with building an application to display messages on the screen on a desired intervals. I want to use cron to achieve that and I am considering my options. The most naive approach would be to print the commands directly into…
Yotam
  • 1,428
2
votes
1 answer

Cron user root or www-data?

I'm running a website on 10.04 and am not sure how to set up my crontab. Should I create it under root or a user such as www-data? Python, Postgres, Nginx.
1
vote
2 answers

How to interpret this crontab command?

I know that if I wrote in crontab -e following command 01 04 * * * somecommand then it will run somecommand at 4:01am on every day of every month. What happens if I wrote * * * * * somecommand? Will it run somecommand every single minute? Will…
Bakhtiyor
  • 12,254
0
votes
2 answers

Crontab not running

Possible Duplicate: Reasons why crontab does not work I have setup a crontab to run a shell script every minute. Here's my crontab file: * * * * * sh /var/www/stuff/public_html/recycle.sh This crontab fails to run at all, but if I run the shell…
kjakeb
  • 263