Jump to content


Photo

Crons


  • Please log in to reply
1 reply to this topic

#1 gerkintrigg

gerkintrigg
  • Members
  • PipPipPip
  • Magician
  • 828 posts
  • LocationBristol, UK
  • Age:37

Posted 24 April 2006 - 03:59 PM

Hi everyone.
I'm trying to work out Crons. I think I have done it correctly using my Plesk control panel (weird system...) but I would like to find out whether it's right.

For the heading: "Command" I've put: httpdocs/includes/cron/delete_ppl_online.php but I'm not sure if this is the right thing. I simply want to delete all records from a database once every month. Any ideas whether I'm doing it right or am I being too ambiguous?
Neil Trigger - http://www.ghostlypublishing.co.uk - Ghostly Publishing - Children's Fantasy Books

#2 michaellunsford

michaellunsford
  • Members
  • PipPipPip
  • Advanced Member
  • 1,023 posts
  • LocationLouisiana, USA

Posted 24 April 2006 - 06:06 PM

run a test -- make sure your notification email address is valid. If it works you should get an email describing the event. If you didn't get it right you should get an email telling you what went wrong.

If you have trouble, you might also consider giving it the full path to the file. my cron likes full paths.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users