You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have doubts that code you posted is exactly what you run, because it has syntax errors, but:
If you are really using an instance of DateTimeZone you should be fine. If not the case, please post exact code that you are running.
If you are using string that will not work, but emit a warning:
Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, string given in php shell code on line 1
Note: after #61 instead of warning you will get a fatal if you pass a string:
Catchable fatal error: Argument 1 passed to timezone() must be an instance of DateTimeZone, string given, called in php shell code on line 1 and defined in php shell code on line 1
Trying to set scheduling running at specific timezone, eg
The command is still run at server timezone.
The text was updated successfully, but these errors were encountered: