webcalendar

Check-in [a61ef81825]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Dial back the amount of days needing processing
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:a61ef818251c839031bc06363e92a1fa481f147fe20b4d865d74cb9891dea080
User & Date: ajv-899-334-8894@vsta.org 2018-01-12 00:03:18
Context
2018-01-12
00:03
Get running on modern PHP check-in: f3f78547ec user: ajv-899-334-8894@vsta.org tags: master, trunk
00:03
Dial back the amount of days needing processing check-in: a61ef81825 user: ajv-899-334-8894@vsta.org tags: master, trunk
00:02
cron hook for event reminders check-in: 48b1bd199d user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tools/send_reminders.php.

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

// How many days in advance can a reminder be sent (max)?
// This will affect performance, but keep in mind that someone may enter
// a reminder to be sent 60 days in advance or they may enter a specific
// date for a reminder to be sent that is more than 30 days before the
// event's date. If you're only running this once an hour or less often,
// then you could certainly change this to look a whole 365 days ahead.
$DAYS_IN_ADVANCE = 30;
// $DAYS_IN_ADVANCE = 365;

// Load include files.
// If you have moved this script out of the WebCalendar directory, which you
// probably should do since it would be better for security reasons, you would
// need to change __WC_INCLUDEDIR to point to the webcalendar include directory.
define ( '__WC_BASEDIR', '..' ); // Points to the base WebCalendar directory







|







38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

// How many days in advance can a reminder be sent (max)?
// This will affect performance, but keep in mind that someone may enter
// a reminder to be sent 60 days in advance or they may enter a specific
// date for a reminder to be sent that is more than 30 days before the
// event's date. If you're only running this once an hour or less often,
// then you could certainly change this to look a whole 365 days ahead.
$DAYS_IN_ADVANCE = 2;
// $DAYS_IN_ADVANCE = 365;

// Load include files.
// If you have moved this script out of the WebCalendar directory, which you
// probably should do since it would be better for security reasons, you would
// need to change __WC_INCLUDEDIR to point to the webcalendar include directory.
define ( '__WC_BASEDIR', '..' ); // Points to the base WebCalendar directory