Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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
1  
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

 
discard

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.