Forgotten I'd posted that. Thanks, feeble. I'd actually worked out the cron job side of things - using Daniel's code from the bank interest calculation and his guide on setting cron jobs:
<?php
//File: dosalaries.php - Pays salaries to members
//MUST SET UP A CRON JOB FOR THIS TO WORK
if(!isset($_SERVER["HTTP_HOST"])) {
include("../../SSI.php");
$salary = $modSettings['salary'];
db_query("UPDATE {$db_prefix}members
SET moneyBank = moneyBank + {$salary}", __FILE__, __LINE__);
echo "Salary paid on ".date("d/m/Y h:i:s A");
}
?>
What I haven't figured out yet is how to work out different salary payments for different membergroups. PHP learner here.