I would like to schedule a post to be posted at 5:00pm CST each Friday.
From looking at the WP-Cron functions, I see only options for hourly, daily, and twicedaily.
I also found a filter that would allow a custom tim interval.
// add custom time to cron
function filter_cron_schedules( $param ) {
return array( 'once_half_hour' => array(
'interval' => 1800, // seconds
'display' => __( 'Once Half an Hour' )
) );
}
add_filter( 'cron_schedules', array( &$this, 'filter_cron_schedules' ) );
I could find out how many seconds are in a week and place that value in the interval, but how would I tell it to start at the exact time I desire?
Does anyone have any ideas on how to do a weekly event?
Thanks,
christopher