Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • Note that although it doesn't address your pre-start concern, * 22-23 * * * is actually two hours and should run from 22:00 to 23:59 inclusive Commented Jan 25 at 23:36
  • What does the following command produce on your system, please: date; date +'%Z %z'; date --utc. I'm also wondering what timezone your crontab is configured to use Commented Jan 25 at 23:39
  • Your first comment is helpful. Where do I execute that command? I tried in cronjob and got email with: /usr/local/cpanel/bin/jailshell: -c: line 0: unexpected EOF while looking for matching `'' /usr/local/cpanel/bin/jailshell: -c: line 1: syntax error: unexpected end of file. Commented Jan 26 at 0:42
  • How do I see what timezone crontab is configured to use? I have a shared server and use cpanel 110.0.20 Commented Jan 26 at 0:44
  • "Where do I execute that command" - in a shell - in a terminal session. (It will fail under cron because % is a special character there) Commented Jan 26 at 8:17