Skip to main content
3 votes

Running a cronjob that requires setting of several environment variables in particular directory

cron uses a shell to interpret the command line given in the crontab. By default, it's sh, but by setting the SHELL variable in the crontab like you do here, you can get a different shell. So you can ...
Stéphane Chazelas's user avatar
2 votes

Crontab entry with hour range going over midnight

In V7 cron and later System V cron, there wasn't a way to mix lists and ranges. In from which all modern crons are forked or inspired, lists and ranges can co-exist. So ...
Paul Vixie's user avatar
1 vote

When scheduling jobs to be run by crontab, should leading zeros be used for the hour?

In I see that entry.c::get_number() just calls atoi(3) which has no special behavior in the case of leading zeros. It seems possible that some atoi(3) somewhere will ...
Paul Vixie's user avatar
1 vote

What does ? means in cron expression?

The crontab generator you used does not seem to target standard cron at all. I believe you must have used CronMaker, which says in its description that it targets "Quartz open source scheduler&...
dhag's user avatar
  • 15.9k

Only top scored, non community-wiki answers of a minimum length are eligible