0 ? '-' : '+' ) . absint( $gmt_offset ) . ' hours'; $tomorrow_6am = strtotime( 'tomorrow 06:00 am ' . $offset_hours ); $tomorrow_2am = strtotime( 'tomorrow 02:00 am ' . $offset_hours ); $tomorrow_3am = strtotime( 'tomorrow 03:00 am ' . $offset_hours ); as_schedule_recurring_action( $tomorrow_6am, 15 * DAY_IN_SECONDS, 'storeengine/geolocation/maxmind/db-update', [], 'storeengine', true ); as_schedule_recurring_action( $tomorrow_2am, DAY_IN_SECONDS, 'storeengine/logs/auto_cleanup',[], 'storeengine', true ); as_schedule_recurring_action( $tomorrow_3am, DAY_IN_SECONDS, 'storeengine/email_log/auto_cleanup', [], 'storeengine', true ); } }