Jump to content

Can php be setup to send an email with log data on 1st monday of each month?


swatisonee

Recommended Posts

hi,

i have a log table of all user page accesses. On the 1st monday of each month, i want the months data sent to an email id automatically and thereafter the table should get emptied.

Is this possible and how would i set the date triggers ?

Depending on your servers OS, you can trigger the script execution with either cron (unix) or Task Scheduler (Windows). There is plenty of information about on the web regarding setting up crontabs (you may even find something useful by searching these forums ;))

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.