The state of affairs is to run insert_post perform each midnight (00:00) of native time. Should run each day on weekday.
perform add_daily_task(){
if((date('l', time()) != 'Saturday') || (date('l', time()) != 'Sunday')){
// insert put up
}
}
if(!wp_next_scheduled( 'add_daily_task_schedule')){
wp_schedule_event(time(), 'each day', 'add_daily_task_schedule');
// how ought to change time() to fulfill my native schedule?
}
add_action('add_daily_task_schedule', 'add_daily_task');