Great Script Conor!

Thanks so much for creating it!

For those that would like to run a cron job for this module, feel free to use / modify the one below:

PHP Code:
<?php

// filename: cron1.php
// make changes in /admin/includes/init_includes/init_admin_auth.php example below...
// 
################################## init_admin_auth.php ##################################
#
#    if (! defined('IS_ADMIN_FLAG')) {
#          die('Illegal Access');
#    }
#  // New Code Starts Here:
#    if (!isset($_SESSION['admin_id']) && defined('CRON_ADMIN_USER_ID') && CRON_ADMIN_USER_ID != '') { 
#          $_SESSION['admin_id'] = CRON_ADMIN_USER_ID;
#    } 
#  // End New Code:
#    if (!(basename($PHP_SELF) == FILENAME_LOGIN . '.php')) {
#
################################## init_admin_auth.php ##################################

if ($_SERVER['REMOTE_ADDR'] == $_SERVER['SERVER_ADDR']) { // Security measure to make sure only local server runs file! <-- Comment out this line to run browser testing

    
define('CRON_ADMIN_USER_ID''99'); // Pick an ID number and add CRON_ADMIN_USER_ID into admin database, I used phpMyAdmin to do this

    
require ('includes/application_top.php');
    require (
DIR_FS_ADMIN DIR_WS_LANGUAGES 'english/back_in_stock_notifications.php');
    require (
DIR_FS_ADMIN DIR_WS_FUNCTIONS 'back_in_stock_notifications_functions.php');

    
sendBackInStockNotifications();
// <-- Comment out this line to run browser testing
?>
Hope this helps someone else that might need this feature.

Best Regards,
Mike