![]() For example if you have to transfer a CSV export, every day, after midnight. If a cron task is still running when it's next triggered they may step on each other's toes and confuse the application state unless you're very very careful about how it's written.Īs a general rule of thumb Cron jobs should be used when something needs to happen at a specific time.A running cron task blocks a new code deploy.We limit cron jobs to running no more often than every 5 minutes, which means a task that needs to be done "now, but not in the web request" may happen as long as 5 minutes later. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |