Jump to content

What's a CRONJOB?


defeated

Recommended Posts

Cron is a daemon used to execute scheduled commands on Linux. A cronjob, as you call it, is an entry in the crontab file telling cron at what intervals to run described commands.

 

While you can use cron to execute php (and even pure calls to mysql), the two are in no way related.

Link to comment
https://forums.phpfreaks.com/topic/90900-whats-a-cronjob/#findComment-465855
Share on other sites

Chronjobs are only triggered by time, not by events, so you couldn't set one up to mail you when data was about to expire. At least I don't think. The best you could do is create a chronjob that runs fairly frequently and searches to see if data is about to expire, and if it is, to mail you.

Link to comment
https://forums.phpfreaks.com/topic/90900-whats-a-cronjob/#findComment-465862
Share on other sites

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.