Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

This is how it looks

* * 10 * * php sendmail.sh

I want this to send mail on the 10th of every month.

share|improve this question
    
i like write-only users... :( –  asdmin Aug 27 '09 at 14:34
add comment

2 Answers

up vote 15 down vote accepted

Then you need to set a time. * means repeat minute/hour/day/whatver. What you want is

1 0 10 * * php sendmail.sh
share|improve this answer
    
Ah I somehow missed that –  Roland Aug 27 '09 at 9:12
add comment

Here is a nice reminder : alt text

share|improve this answer
3  
As long as it's /etc/crontab (or /etc/cron.d), user crontabs have no username field. –  theotherreceive Aug 27 '09 at 12:39
add comment

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.