#14391 closed defect (bug) (wontfix)
Cron Jobs work on wrong time
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Cron API | Keywords: | cron |
Focuses: | Cc: |
Description
Cron jobs runs on German Pages 2 Houers later as Scheduled!
if I'm change the wp-cron.php the line:
$local_time = time();
to
$local_time = current_time('timestamp');
its working corectliy.
Change History (3)
Note: See
TracTickets for help on using
tickets.
The cron API uses GMT time, not local time. Note time() in wp-includes/cron.php and check_and_publish_future_post() trying to strtotime() the post's post_date_gmt.