swatisonee Posted December 14, 2006 Share Posted December 14, 2006 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 ? Link to comment https://forums.phpfreaks.com/topic/30663-can-php-be-setup-to-send-an-email-with-log-data-on-1st-monday-of-each-month/ Share on other sites More sharing options...
zq29 Posted December 14, 2006 Share Posted December 14, 2006 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 ;)) Link to comment https://forums.phpfreaks.com/topic/30663-can-php-be-setup-to-send-an-email-with-log-data-on-1st-monday-of-each-month/#findComment-141283 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.