I'm trying to:
- run job A the first day of the month: 0 0 1 * *
- run job B the other days of the month: 0 0 2-31 * ?
Vixie cron on Ubuntu 14.02 LTS refuses the second syntax, though it seems valid according to Wikipedia and official specs:
"crontab", The Open Group Base Specifications Issue 7 — IEEE Std 1003.1, 2013 Edition, The Open Group, 2013, retrieved May 18, 2015
According to references above, the syntax
0 0 2-31 * * would run the job every day of the month as third and fifth fields are treated as OR clauses of the run condition.