Cron job
A scheduled task that runs on its own every so often.
Example
A cron job deletes expired links every day at 03:00.
Test yourself: Cron job
Generating unique keys
A cron job runs every night at 3:00 and deletes expired links. Which cleanup is it?
Active cleanup goes looking for expired links periodically, say every 24 hours, even if nobody visits them. Passive only deletes a link when someone visits and sees it expired.
0/1
â–¶ Play