I need to be able to run 4 programs 4 times per day under Wine, these are programs which have to run in a virtual desktop. So far I've not found any scheduler which works with Wine and my efforts at using cron in Linux have failed because I have not found a way to get them to open the graphics interfaces. I can open the programs using a Linux program called dex which when called from a console window works and opens the graphics interface just fine but fails using cron. I am considering using a PHP script which will work but I'd prefer either a task scheduler under wine or cron but so far have not got a solution using either.
Does anyone have any ideas please?
Stuart
Can programs be schedued in Wine easily?
-
- Level 2
- Posts: 10
- Joined: Sat Oct 24, 2009 7:39 am
Re: Can programs be schedued in Wine easily?
This can be done in the same way as a Linux program. Create a systemd service file that runs the program, controlled by a systemd timer.
There are several manuals for this, such as: https://opensource.com/article/20/7/systemd-timers
There are several manuals for this, such as: https://opensource.com/article/20/7/systemd-timers
-
- Level 2
- Posts: 10
- Joined: Sat Oct 24, 2009 7:39 am
Re: Can programs be schedued in Wine easily?
Thanks I'll take a close look at that article.
Stuart
Stuart