Commit Graph

22 Commits

Author SHA1 Message Date
Dmitry Timoshkov 4d44bc3715 schedsvc: In case it's an old Wine prefix create c:\windows\tasks automatically.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-27 16:03:40 +02:00
Alexandre Julliard 6a1ce3c114 schedsvc: Only restart the directory watch once we've received data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 13:29:10 +02:00
Dmitry Timoshkov 8d540ec7cf schedsvc: Add support for running missed tasks at the service start.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 10:50:02 +02:00
Dmitry Timoshkov ae79454989 schedsvc: Load job files at the service start up.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 10:50:02 +02:00
Dmitry Timoshkov 70cedb3e5e schedsvc: Add support for running tasks at specified time.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-06 11:18:50 +02:00
Francois Gouget 1bd06510e0 schedsvc: Add a trailing '\n' to some ERR() messages.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-01 19:42:53 +02:00
Dmitry Timoshkov 8d0444826d schedsvc: Add support for executing tasks.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-31 20:00:38 +02:00
Dmitry Timoshkov 0932d858aa schedsvc: Pass full task file name to remove_job()/add_job().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 17:20:41 +02:00
Dmitry Timoshkov 9823191a77 schedsvc: Reimplement FILE_ACTION_MODIFIED by remove_job()/add_job() sequence as MSDN suggests.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 15:43:39 +02:00
Dmitry Timoshkov 7d96703016 schedsvc: Explicitly terminate the received name in the notification buffer.
And print a FIXME if we've got multiple entries.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 15:42:58 +02:00
Dmitry Timoshkov f7d1e16183 schedsvc: Also watch for job file modifications.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-04 11:02:02 +02:00
Dmitry Timoshkov 0f77a4cb82 schedsvc: Print an error if the service couldn't start monitoring the tasks directory.
This happens for old prefixes with disabled updates.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:33:09 +02:00
Dmitry Timoshkov c85bc14d55 schedsvc: Remove job from the list when job file is deleted.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-17 20:56:47 +02:00
Dmitry Timoshkov 2b8d47694d schedsvc: Add support for reading .job files.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-17 20:56:47 +02:00
Dmitry Timoshkov 2eb6f88670 schedsvc: Add a thread for monitoring version 1 task files.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-17 20:56:47 +02:00
Dmitry Timoshkov 10688c5f91 schedsvc: Add ATSvc server side stubs.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-09 19:53:33 +02:00
Sebastian Lackner be0e05604a schedsvc: Simplify and standardize the heap_xxx() declarations.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-09 20:13:24 +01:00
Sebastian Lackner bd31e320dd schedsvc: Avoid deadlock when scheduler service starts rpcss.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-02 11:27:57 +09:00
Michael Stefaniuc 6f6aa9b8a6 schedsvc: Drop WINE_ prefix from ERR(). 2015-03-24 18:16:20 +09:00
Dmitry Timoshkov 0e802b9c92 schedsvc: Replace external trace statements by internal versions. 2014-03-18 11:42:48 +01:00
Dmitry Timoshkov c2148f9e2a schedsvc: Mark service as auto-start once a task is registered. 2014-03-14 16:14:20 +01:00
Dmitry Timoshkov 88df368868 schedsvc: Add Task Scheduler service. 2014-03-13 20:22:21 +01:00