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

How to make a script run at e.g. 16:00 every last thursday of the month using gnome-schedule or cron?

share|improve this question
up vote 3 down vote accepted

Open crontab (crontab -e)and add this entry.

0 16 24-31 * 4 script_file

You can use this online cron generator.

Hope this helps.

share|improve this answer
Or use this editor. It's a bit more comprehensive. – Glutanimate Nov 9 '12 at 4:20
great, thanks. But it won't run on april 2014 :) – user73331 Nov 9 '12 at 4:27
changing it to 24-31 will solve it :) – devav2 Nov 9 '12 at 5:50
but then.. look at july 2014 :) Sorry, just kidding.. The question is solved. Thanks again. – user73331 Nov 9 '12 at 7:20
:) glad that you solved the issue. – devav2 Nov 9 '12 at 7:22

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.