1internet Posted February 16, 2013 Share Posted February 16, 2013 I am just wondering if I have worked out what a cron job actually is. Am I right in saying it is something from the apache server, that will do something on a regular basis, e.g. daily, weekly? The "something" that it does, is this just simply loading a certain php file. Then the php file may have certain checks that might compare the dates, e.g. if todays date is more than a date taken from a database row, then email this address? Am I right? Quote Link to comment https://forums.phpfreaks.com/topic/274553-cron-job/ Share on other sites More sharing options...
Jessica Posted February 16, 2013 Share Posted February 16, 2013 http://en.m.wikipedia.org/wiki/Cron One of the things you can do is run a PHP file. Quote Link to comment https://forums.phpfreaks.com/topic/274553-cron-job/#findComment-1412734 Share on other sites More sharing options...
trq Posted February 16, 2013 Share Posted February 16, 2013 Close, but not really. It has nothing to do with Apache, but yeah, it is a daemon that can execute commands at specific scheduled times. PHP is just one of thousands of different commands cron could possible execute. Quote Link to comment https://forums.phpfreaks.com/topic/274553-cron-job/#findComment-1412743 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.