ok, i've had a look at its doing what i want
I have a question about the time part of it though
Its currently displaying the server time, not my local time
The example on phps site shows to use
date_default_timezone_set('UTC');
but i get an error with it
Call to undefined function: date_default_timezone_set()
this is the code i'm using
date_default_timezone_set('GMT');
error_log('Sucessfully ran on '.date("d-m-Y - G:i").'
', 3, 'email_files/log.php');