Jump to content

Cron Job?


Jamesking56

Recommended Posts

Given your sig, I'd expect you'd know. Anyway, Unix-flavored OS's provide a way for scheduling jobs in advance. Generically, it's called Cron. A job can include running a script. You might use this for backing up a database at 3:00 am when your users are mostly asleep, or maybe cleaning out a login file, something like that. You'll need access to a terminal that talks to your server or a server control panel item that automates Crontab or the equivalent.You can simulate Cron by having any script check a file or DB for a timestamp, and, if enough time has expired, telling a "cleanup script" (or whatever) to run (and then reset the timestamp).

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...