It is easy to add more schedules to the scanner in Security Ninja.
This is done using a filter built into WordPress, named cron_schedules
You can add below code to your functions.php file. The example below adds a schedule every two weeks.
Make sure to save this in your functions.php file before you reload Security Ninja settings page and set the schedule
add_filter( 'cron_schedules', 'cron_add_twice_monthly' );
function cron_add_twice_monthly( $schedules ) {
// Adds once every two weeks to the existing schedules.
$schedules['everytwoweeks'] = array(
'interval' => 1209600,
'display' => __( 'Once Every Two Weeks' )
);
return $schedules;
}
If you want to know more details about the filter : developer.wordpress.org/reference/hooks/cron_schedules/

