Hi All,
I've been racking the forums for 2 hours now and only seem to be moving forward slowly...
I've extended QuarterHourlyTask as follows:
<?php
class ZQQuarterHourlyTask extends QuarterHourlyTask {
public function process(){
$From = "test@gmail.com";
$To = "test@gmail.com";
$email = new Email($From, $To, "TEST TASK", "TEST TASK");
$email->send();
Debug::message("Yes it works! Yippie!");
}
}
this seems to work fine if I go to http://mysite/ZQQuarterHourlyTask and the email gets sent a-ok and I can see the debug message.
Problem is... as of yet it doesn't send the email automatically every fifteen minutes it ONLY works when I test it through the URL?
Am I missing somthing here?
Any help would be great! I'm tearing my hair out.
I'm running wamp on a pc if that helps
Thanks heaps!
Jamie