Schedule cclink event
Last modified: May 3, 2008 - 01:20
I needed a way to schedule a cclink event 30 days after a node was created. The standard cclinks Set event scheduling event action doesn't allow php code, so I found a way to do it with a php action. You may use the following code to control your event date:
// Schedule event in 30 days.
$event_date = time() + 60 * 60 * 24 * 30;
cclinks_link_apply_schedule_date($node, 'cclink1', strftime( "%Y-%m-%d %H:%M:%S", $event_date));where cclink1 is your cclink internal name.
