Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For example I want to schedule task using crontab:

*/2 * * * * /root/scripts/

But nothing happens, is not executed. Who can help me?

share|improve this question

Check /var/log/syslog.

Change your cron line to: */2 * * * * /root/scripts/ >/tmp/backup.log 2>&1

so that you will get some log in the /tmp/backup.log file.

share|improve this answer
I want to ask an question: I need change mod of this script +x? – Kalick Aug 19 '12 at 17:45
Yes, you need to. – green Aug 19 '12 at 17:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.