1

This is how it looks

* * 10 * * php sendmail.sh

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

1
  • i like write-only users... :(
    – asdmin
    Commented Aug 27, 2009 at 14:34

2 Answers 2

16

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

1 0 10 * * php sendmail.sh
1
  • Ah I somehow missed that
    – Elitmiar
    Commented Aug 27, 2009 at 9:12
14

Here is a nice reminder : alt text
(source: joshhighland.com)

1
  • 3
    As long as it's /etc/crontab (or /etc/cron.d), user crontabs have no username field. Commented Aug 27, 2009 at 12:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .