Odoo Cron task to start PoS - cron

Is there a way to start the point of sale from a cron task/job.
I'd like to start the Point_of_sale every morning, so the loading is finished by the time the store opens.
Thanks in advance.

Use this module if you just want to speed up pos load time
https://www.odoo.com/apps/modules/9.0/pos_cache/
Note Just update your cache when you make change product price

Related

Blue Prism: Object not found when ran using Control Center, but runs without issue through Process Studio

During my process there is a drop-down html element that I have spied and set correctly. I run through the Object and Process studio without any issues. Once the same process is ran through the Control Room the element throws and error that it cannot be found.
I have tried multiple different configurations without any luck and the element is still found without issue when ran manually. I even checked by signing into the VM having it error and on the second retry had the VM up; at this stage the element was found without issue. It seems to only be when the bot is running and the screen is not up. No other elements give this issue and the next step is the same dropdown, but for a stop time not start.
Any help would be appreciated!
I have added pics of the STARTSPIED - START and ENDSPIED - END spied configs,the Navigation Stage, and the process correctly running in the Object Studio OB Studio correct.
Thank you!
For the person who down-voted this item...Configs here are my two days of config changes and research that I tried on my own before asking for help. This is my 5th automation that I have put into deployment without help, so thank you for down-voting someone trying to get help where they are stuck.
Your problem is most likely connected with the fact that processes run in the control room are executed much faster than in studio and your webpage might not be loaded on time (that would explain why it works after retry).
Best practice approach would be to add a dynamic wait stage after attach and use “Parent Document Loaded” option on the element you want to interact with. It will wait for the page to be loaded and then check exist for the element. I would also suggest splitting your action into two, first to set start date and second for end date.

How to set virtual users in load runner in HP ALM 12.05

I have one VuGen script(recorded script) which i need to execute with Virtual users. Currently i am able to import it and also found play button (after several attempts). But the problem is where should i need to mention the Virtual user number.
Provide some tutorial/ link for the latest ALM
Have a look at the default edit view for your test, the "Groups and Workload" tab in the Performance Test Designer window.
If you already added your script, you will find an entry for it in the "Groups" grid.
In that grid there's also a column for "Vusers". For yor script the value will be set to 1 by default. If you want to increase that number, just double-click on the grid to edit the value. Suprisingly, you won't that option in the script's Runtime Settings or any other dialog.
Best training site would be youtube :), as for how to add X amount of users, this is done in the controller, there you can schedule when the users start running, if all at once or every 1, 2, 3 minutes etc.
There are also companies that offer training when needed and help you with script development, google for iDeliver inc ;).

GetSystemTime and taskbarTime not matched

I want to change SystemTime in C#. I used SetSystemTime() and changed the System Date and Time successfully, but after changing it ,in task bar, only date is changed and task bar time doesn't change at all.
And when I call GetSysemTime I can see date and time changes.
how can i Read Taskbar Time programmatically?or In other words does taskbar time refer to systemTime?
Help Please
Ideas?
The difference between the two times will be due to time zone settings.
Check HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation and adjust your reading accordingly.
Taskbar Time Alwayse show this:
GetSystemTime +UTC (of Time Zone)
and when we set special Time , GetSystemTime Exactly show The Time We set, but taskbarTime Add Utc of timeZone to that!
Thank You

Lotus script to rebuild index

We have database with over 40,000 documents. There is a view which saves a document every month and it sometimes shows wrong figure. This view is not rebuild automatically by the updall function which runs in the mid night. Hence we perform the Shift+F9 manually everymonth after which it displays the correct figure. Our user's requested for a permanent solution for this. Can you please suggest the best way to perform this function?
I have prepared a scheduled agent to pass the updall command in the server console and have no idea if it is going to rebuild the view as I am not able to test it now. Will it really work?kindly help me.
You need to rebuild the view. Use this in your program document or console command:
load updall yourdb.nsf -T yourview -R
According to help -R means "Rebuilds all used views." so -T option may not work. But if you run this only once a month it's OK (and even a good thing) to rebuild all views.
You can refresh a single view in script:
...
dim vw as notesView
Set vw = db.GetView("All")
Call vw.Refresh
...
This will refresh the back-end view index and not update any views displayed in UI, but should work as expected in a scheduled agent.
Actually before updall event,you usually should:
load fixup yourdb.nsf
The program documents is a good way.

yui date time schedule

I inspected code of http://timetomeet.info/new/. I would like to make the same time selector as is here at http://timetomeet.info/new/
Is there any step by step instruction how to do it? I need output for php to process it (so it should be array with times or something like that).
many thanks in advance
I found solution. Just try to extract all js a yahoo scripts and it works.

Resources