Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Extra Tools
  3. Cron Time Windows | Cron Scheduler | Cron Job Business Hours | Scheduled Actions at Fixed Times v 16.0
  4. Sales Conditions FAQ

Cron Time Windows | Cron Scheduler | Cron Job Business Hours | Scheduled Actions at Fixed Times

by WebThreenity https://webthreenity.netlify.app
Odoo
v 16.0 Third Party 24
Download for v 16.0 Deploy on Odoo.sh Live Preview
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest

WebThreenity · Odoo 16 · Free and open source

Cron Time Windows

Business hours and fixed times for every scheduled action.

Tell each scheduled action when it may run: every 5 minutes during office hours, every 30 minutes in the evening, never at night. Or run it at fixed times: every day at 07:30, every Monday at 09:00, on the 1st of the month.

Cron Time Windows

Step by step

Captured on Odoo 19 Enterprise. Odoo 16 shows the same screens and steps, with its own look.

Give each scheduled action its time windows
Check the next executions before saving
Or run it at fixed times
Save a schedule as a template
Select scheduled actions, then Apply Time Windows
Apply a schedule to several actions at once
Group scheduled actions by schedule mode

Why time windows?

Quiet nights

A queue that polls every 5 minutes all night fills the logs and wakes the server for nothing. Pause it outside business hours.

Right on time

A report at 07:30, a Monday digest, an export on the 1st: fixed times, not an interval that drifts a little more every day.

Opt-in, action by action

Every scheduled action stays on Odoo's native scheduling until you change it. The core actions are never touched.

Features

A frequency per time window

Each window runs the action at its own interval, in minutes or hours, or pauses it. Runs are aligned on the window start (08:00, 08:05, 08:10...), so the rhythm never drifts.

Fixed times

Daily, weekly or monthly times, as many as you need. An action set on the 31st runs on the last day of shorter months.

Weekdays and night shifts

Limit a window to some weekdays, or let it cross midnight: a Friday 22:00-06:00 window covers Friday night until Saturday morning.

Your timezone, daylight saving included

Windows follow the wall clock of the timezone you choose, across summer time changes. The next execution is still stored in UTC.

Preview before you save

The form lists the next executions as you edit, and explains what is wrong when two windows overlap or the action would never run.

Many scheduled actions at once

Save reusable templates, then select scheduled actions in the list and apply a template, the schedule of another action, or one you define on the spot.

How to use it

  1. Open Settings > Technical > Automation > Scheduled Actions (developer mode) and pick an action.
  2. In the Time Windows tab, choose Time windows or Fixed times, and the timezone.
  3. Add your windows (start, end, run or pause, interval, weekdays) or your fixed times.
  4. Check the Next executions preview, then save: the next execution date updates at once.
  5. For several actions, select them in the list and use Actions > Apply Time Windows.

Requirements

  • Odoo 16.0, Community or Enterprise, on-premise or Odoo.sh.
  • Depends on base only.
  • Developer mode, to open the scheduled actions.
  • English and French included.

Questions

Does it change Odoo's own scheduled actions?

No. Every scheduled action stays on Native until you choose Time windows or Fixed times for it: the mail queue, the autovacuum and the other core actions keep their usual schedule.

Does it add a dispatcher or a daemon?

No. The scheduled action itself keeps running; only its next execution date is computed differently, and the minute-level precision of the scheduler is kept.

What happens when the clocks change?

Windows follow the wall clock of the chosen timezone: 08:00 stays 08:00 in summer and in winter. The preview shows the UTC offset of each run.

A window from 22:00 to 06:00?

It crosses midnight and belongs to the day it starts on: a Friday 22:00-06:00 window runs from Friday night to Saturday morning.

Can I still run an action by hand?

Yes. Run Manually always runs, whatever the windows say.

Is it free?

Yes, under the LGPL-3 license.

Good to know

  • A safety net skips a run that wakes up outside its window, or twice in the same slot, even when another module triggers the action.
  • Restricted to administrators; every rule is checked on the server.
  • Templates can be archived when you no longer use them.

Free trial · 7 days

Try Cron Time Windows in your own Odoo database

An Odoo 19 database of your own where the e-mail queue already runs in office hours: every 5 minutes in the day, every hour in the evening, every 30 minutes on weekend mornings. Open any scheduled action, give it time windows or fixed times, check the next executions before saving, and apply a template to several actions at once.

A database of your own · Access sent the same day · No credentials, no credit card

Get my access or the Live Preview button at the top of this page

Made by WebThreenity

Need more from Odoo?

WebThreenity implements, customizes and supports Odoo: ERP rollouts, custom modules, version upgrades and integrations. Questions about this app or a custom request? Write to us.

Email WebThreenity or visit webthreenity.netlify.app
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 1251
Technical Name cron_time_windows
LicenseLGPL-3
Websitehttps://webthreenity.netlify.app

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with