Commit Graph

20 Commits

Author SHA1 Message Date
Andrew Nacin a8aba36255 Use $gmt_time rather than $local_time in cron, since it uses GMT/UTC and not a local timestamp. see #14391.
git-svn-id: https://develop.svn.wordpress.org/trunk@21954 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-23 16:57:21 +00:00
Ryan Boren 3a1b732f51 Use microtime() for cron locks. fixes #19700
git-svn-id: https://develop.svn.wordpress.org/trunk@19722 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 19:02:31 +00:00
Ryan Boren 332d6d1351 Improve cron locking. Avoid multiple cron processes looping over the same events. fixes #17462
git-svn-id: https://develop.svn.wordpress.org/trunk@18659 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-09 19:59:44 +00:00
Mark Jaquith 8bca8131a6 More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: https://develop.svn.wordpress.org/trunk@13725 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 04:39:50 +00:00
Andrew Ozz 830ecf4108 Increase timeout on cron-based requests when checking for upgrades, props dd32, fixes #10349
git-svn-id: https://develop.svn.wordpress.org/trunk@11826 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 04:59:38 +00:00
Andrew Ozz ccaf039e0d Cron spawning improvement, see #9005
git-svn-id: https://develop.svn.wordpress.org/trunk@10521 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-07 13:32:34 +00:00
Ryan Boren 17a19d056b Use transient for doing_cron. see #9048
git-svn-id: https://develop.svn.wordpress.org/trunk@10519 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-06 22:25:35 +00:00
Ryan Boren 3fa69e82bf Lose hash check
git-svn-id: https://develop.svn.wordpress.org/trunk@10472 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-30 22:32:20 +00:00
Andrew Ozz a98c49b45c Cron improvement, props hailin, fixes #7068
git-svn-id: https://develop.svn.wordpress.org/trunk@8927 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-18 07:09:38 +00:00
Ryan Boren e25996c368 File file level phpdoc from jacobsantos. see #7037
git-svn-id: https://develop.svn.wordpress.org/trunk@7991 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-25 15:50:15 +00:00
Ryan Boren e911cca913 Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
git-svn-id: https://develop.svn.wordpress.org/trunk@7971 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 05:59:27 +00:00
Mark Jaquith 02df990e1f Consistently include wp-config.php. fixes #3349
git-svn-id: https://develop.svn.wordpress.org/trunk@5843 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-03 00:45:06 +00:00
Ryan Boren 66d8f40564 Use wp_hash to create cron's check hash.
git-svn-id: https://develop.svn.wordpress.org/trunk@5274 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-16 20:47:23 +00:00
Ryan Boren 64262206e2 Attempt at eliminating cron contention.
git-svn-id: https://develop.svn.wordpress.org/trunk@4509 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-21 02:48:12 +00:00
Ryan Boren f03d22ae89 Change cron arg passing. Props masquerade. fixes #3169.
git-svn-id: https://develop.svn.wordpress.org/trunk@4362 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-08 17:50:21 +00:00
Ryan Boren 5e0bb805e5 Cron unscheduling fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@4190 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-14 00:18:05 +00:00
Ryan Boren 339ada9537 cron and future post publishing fixes. fixes #3058
git-svn-id: https://develop.svn.wordpress.org/trunk@4189 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-13 23:54:15 +00:00
Ryan Boren ac77e5291f Rework wp_publish_post() to use wp_update_post() again while turning off filters. Clear the cron schedule for a post when the post timestamp is updated. #2715 #2737
git-svn-id: https://develop.svn.wordpress.org/trunk@4077 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-07 03:50:55 +00:00
Ryan Boren 5fd8e9c8f5 Cron fixes from mdawaffe. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3636 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-08 05:51:42 +00:00
Ryan Boren 457b4b5251 Cron improvements from masquerade. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3634 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-07 21:43:59 +00:00