function markLastRun($job, $lastRun, $data = '')
{
    global $filesystem;
    $jobfile = getJobFileName($job);
    $filesystem->file_put_contents($jobfile, $data);
    touch($jobfile);
}
function markLastRun($job, $lastRun)
{
    $jobfile = getJobFileName($job);
    touch($jobfile);
}