extract pretty_print_scheduled_tasks