Server Fault is a question and answer site for system and network administrators. 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

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
up vote 16 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

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

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.