Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download scheduler-7.x-1.3.tar.gztar.gz
42.09 KB
MD5: a3ccdf5cab91c26d9dd08c09693322b7
SHA-1: 52dfe8514701252cb0e303cf0c4d84ad476ea475
SHA-256: fa70406f43ba5261e61d0d87bbd70006653b459519c9cce6072fd1ff7d11d4aa
Download scheduler-7.x-1.3.zipzip
49.23 KB
MD5: ba8ac2247226305a7653fe2f07865ec1
SHA-1: 9490ba65c8eef2a245d15838d7f12c78a2e33fde
SHA-256: 49f7357282823d3474dc256106e694b1b67773c7b525b5a047f2d746c2b85aaa
Release notes
SA-CONTRIB-2014-107 - Scheduler - Cross Site Scripting
New features
- New function to allow other modules to know when a process is being done during scheduler cron.
#2168861: Use drupal_static() to indicate when scheduler_cron is running - Invoke hook_scheduler_api() during 'publish immediately' process.
#2260017: Let other modules interact during "publish immediately" - Additional date elements when entering the schedule date.
#2278557: Allow month name and three-letter month abbreviation in the date format - Flexibility for non-admin users to view the full scheduled list.
#2355401: New permission 'view scheduled content'
Bug fixes
- Compatibility with PostgreSQL database.
#1708488: PostgreSQL - Countdown field error - unix_timestamp() does not exist - Fix _scheduler_allow() to initialise the result to TRUE and use correct logic.
#2164147: Correction for _scheduler_allow - Avoid using strptime() and fix tests to check the conversion.
#2184517: Fatal error: Call to undefined function strptime() - Fix array warning.
#2205809: Warning: trim() expects parameter 1 to be string, array given in _scheduler_strtotime() - Use drupal_exit() so that all hook_exit() functions are invoked at end of lightweight cron.
#2250309: Call drupal_exit() instead of exit() in _scheduler_run_cron (and notes on avoiding drush error) - Correct the syntax for D7 Feeds module.
#2257301: Update for D7 Feeds.module API - Allow scheduled unpublishing to run as planned regardless of status.
#2355129: Remove test for $status=1 before unpublishing - Avoid calling _scheduler_allow(publish) when not setting an publish-on date.
#2358157: Do not call _scheduler_allow(publish) when scheduling an unpublish date - Add validation to check unpublish-on when editing an unpublished node.
#2365707: Missing validation allows Unpublish date to be blank
Usability improvements
- Better use of 'default time' functionality.
#2143061: The 'date only' option must be turned on for a format with no time element - Validate and improve consistency in date and time letters.
#2187361: Validate the date format letters and reorganise _scheduler_strptime() - Better information on the Timecheck tab.
#2188945: Improve the timecheck page - Repeat the 'Scheduled Content' tab on administration page.
#2256411: Add 'Scheduled content' tab to the admin pages - Multiple improvements to the controlling cron publish/unpublish functions.
#2311273: Tidy up _scheduler_publish() and _scheduler_unpublish()
Standards and code improvements
- Fix two badly-formed translation strings.
#2360295: Two translation string warnings