You appear to be a bot. Output may be restricted
Description
Display the CRON information for "oik_batchmove_hook"
Usage
oik_batchmove_cron();
Parameters
Returns
voidSource
File name: oik-batchmove/admin/oik-batchmove-cron.phpLines:
1 to 35 of 35
function oik_batchmove_cron() { p( "If activated scheduled republish is expected to be performed daily just after midnight (UTC)" ); //do_action( "oik_pre_theme_field" ); //stag( "table", "widefat" ); $activated = oik_batchmove_scheduled_option( "activated" ); //bw_tablerow( array( "Activated?", $activated ) ); if ( $activated ) { p( "Scheduled republish is activated" ); } else { p( "Scheduled republish is not activated" ); } // bw_format_custom( //etag( "table" ); $next_time = oik_batchmove_schedule( $activated ); if ( $next_time ) { $next_time = bw_format_date( $next_time, "Y-m-d H:i:s" ); p( sprintf( __( 'Next scheduled to run: %1$s' ), $next_time ) ); } else { p( "Not scheduled." ); } $last_run = oik_batchmove_scheduled_option( "last_run", "bw_scheduled_log" ); if ( $last_run ) { $last_run = bw_format_date( $last_run, "Y-m-d H:i:s" ); p( sprintf( __( 'Last run: %1$s' ), $last_run ) ); // bw_theme_field( "Last run", $last_run ); $post_date = oik_batchmove_scheduled_option( "post_date", "bw_scheduled_log" ); // bw_theme_field_date( "For post date:", $post_date ); p( "Post date: $post_date" ); } bw_form(); p( isubmit( "_oik_batchmove_run_cron", "Run scheduled republish now", null, "button-secondary" ) ); p( isubmit( "_oik_batchmove_category_republish", "Run category republish now", null, "button-secondary" ) ); p( isubmit( "_oik_batchmove_tag_republish", "Run tag republish now", null, "button-secondary" ) ); etag( "form" ); }View on GitHub View on Trac