Set Server Timezone

Set the system timezone so logs and cron run on your clock.

Sets the system timezone used by cron jobs, log timestamps, and PHP's date functions. Mismatched timezones between server and app config cause confusing timestamp bugs.

When you need this: When your application logs or scheduled tasks show unexpected times.

Variables

Command


        
8 views 0 copies
Log in to rate
Log in to save

Free account. Save snippets into your own collections.