https://www.endpointdev.com/blog/2013/04/avoid-200-and-300-am-cron-jobs/ Skip to content x * Home --------------------------------------------------------------------- * Custom Ecommerce * Application Development * Database Consulting * Cloud Hosting * Systems Integration * Legacy Business Systems * Security & Compliance * GIS --------------------------------------------------------------------- * Expertise --------------------------------------------------------------------- * About Us * Our Team * Clients * Blog * Careers --------------------------------------------------------------------- * VisionPort --------------------------------------------------------------------- * Contact * End Point Dev * Services * Expertise * About * VisionPort * Contact Custom Ecommerce Application Development Database Consulting Cloud Hosting Systems Integration Legacy Business Systems Security & Compliance GIS DevOps / Cloud * AI Portal * AI Tools * Containers & Virtualization * Deployment Automation * Hosting, Monitoring, and 24x7 Support * Linux Systems * Remote Monitoring & Management * ROS, Robotics, Embedded Systems * Security, Encryption, Vulnerability Mitigation * Version Control & DevCamps * Windows Systems Databases * Benchmarking * Database Migrations * Microsoft SQL Server * MySQL * NoSQL * On-site Training and Support * PostgreSQL * Replication & Bucardo * Support and Maintenance Packages Frameworks * Android & iOS Development * ASP, .NET, C# * CMS (WordPress, Wix, Craft, custom) * Django & Python * Elasticsearch, Solr * Geographic Information Systems * Java * JavaScript * PHP * Ruby on Rails Ecommerce * End Point Ecommerce * APIs and Integrations * Magento * Payment Processing * Perl & Interchange * Responsive Design * SEO, Google Ads, Analytics * Spree and Solidus About Us We design and build custom software solutions. Our Team We're software developers, design thinkers, and security experts. Clients Since 1995 we've built our reputation by bringing expertise and care to your projects. Blog Ongoing observations by End Point Dev people Careers We currently have no open positions, but check back soon! Our Blog [rss] [ ] Search LLM expanded search --------------------------------------------------------------------- Hide search results Avoid 2:00 and 3:00 am cron jobs! Jon Jensen By Jon Jensen April 8, 2013 A word to the wise: Do not set any cron jobs for 2:00 am or 3:00 am on Sunday morning! Or to be safe, on other mornings besides Sunday as well, since jobs originally set to run on some particular day may eventually be changed to run on another day, or every day. Most of the time such cron jobs will run fine, but if they run every Sunday morning, then twice per year they will run at the exact time daylight savings time (aka summer time) kicks in or ends, sometimes with very strange results. On Linux with vixie-cron we saw two cron jobs run something like once per second between 3:00 and 3:01 when the most recent daylight savings time began. Thus they ran about 60 times, stepping all over each other and making a noisy mess in email. No serious harm was done, but that's only because they were not tasks capable of causing serious harm. Feel free to wish for or agitate for or fund or write a better open source job scheduler that everyone will use, one that will ensure no overlapping runs, allow specifying time limits, etc. Better tools exist, but until one of them achieves cron's level of ubiquity, we have to live with cron at least some places and sometimes. Alternatively, where possible set the server timezone to UTC so that no daylight savings changes will happen at all. Or most preferable: Governments of the world, stop the twice-yearly dance of daylight saving time altogether. But in the meantime this particular problem can be entirely avoided by just not scheduling any cron jobs to run on Sunday morning at 2:00 or 3:00 server time. devops linux sysadmin --------------------------------------------------------------------- Comments Visit the GitHub issue to view and write comments. Popular Tags * postgres 305 * rails 264 * conference 194 * database 179 * ruby 165 * ecommerce 161 * javascript 148 * visionport 144 * perl 117 * open-source 115 * sysadmin 105 * tips 104 * All Tags --------------------------------------------------------------------- Archive * Posts by date * Posts by author Subscribe to our newsletter [ ] [ ] [Subscribe] * Services * Custom Ecommerce * Application Development * Database Consulting * Cloud Hosting * Systems Integration * Legacy Business Systems * Security & Compliance * GIS * Expertise * DevOps / Cloud * Databases * Frameworks * Ecommerce * About * Our Team * Clients * Blog * Careers * VisionPort * Contact [linkedin] [x-end-poin] [instagram-] (c) 2025 End Point Corporation