Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to check and change scheduler run time?

By
willie ho
on 5/19/15, 11:37 PM 477 views

I make a scheduler run everyday, I want to force it run at 12 o'clock, what should I do?

1

Solanki Shamji

--Solanki Shamji--
1293
| 5 2 6
Baroda, India
--Solanki Shamji--

Hello!

Solanki Shamji
On 5/20/15, 1:47 AM

Hello,

I think below link will helpful you.

http://blog.openerp4you.in/2013/04/how-to-create-scheduler-in-openerp.html

Thanks.

Shamji.


1

Temur

--Temur--
2894
| 6 5 7
Tbilisi, Georgia
--Temur--
Programmer
Temur
On 5/20/15, 3:49 AM

option 1: you can check/change it through settings page on 'Settings/Technical/Automation/Scheduled Actions', here you can adjust "Next Execution Date" and set time to the next 12 o'clock. 

option 2: you can add "nextcall" field directly in scheduled action record in XML, like this:

<field name="nextcall" eval="(DateTime.now() + timedelta(days=1)).strftime('%Y-%m-%d 12:00:00')" /> 

here '%Y-%m-%d 12:00:00' is midday in server time (server time may differ from your local time, but if you check at settings page, you'll see time in your local time). for midnight use '%Y-%m-%d 00:00:00',  i.e. 24 hours format. 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/19/15, 11:37 PM
Seen: 477 times
Last updated: 5/20/15, 3:49 AM