Scheduled scripts are agents that run at a specific time.
They're ideal for programming server machines, since they require no user action to get them going. You can easily set up a scheduled script to run every hour on the hour, or every minute, or every night at midnight. Or any of an almost infinite variety of different time combinations. Overnight, hourly, and every minute tasks To add a task that runs overnight, every hour, or every minute, add it to user.scheduler.overnight, user.scheduler.hourly, or user.scheduler.everyMinute. Both will get run once a night, every night.