Fossil Forum

fossil backoffice --poll as Windows service (another winsrv)
Login

fossil backoffice --poll as Windows service (another winsrv)

fossil backoffice --poll as Windows service (another winsrv)

(1) By MBL (RoboManni) on 2020-08-27 17:20:01 [link] [source]

fossil winsrv

To let fossil run as a windows service this command exists for creation, start, stop and deletion.

fossil backoffice --poll N

is needed to get the after-receive hooks (and others) executed. But windows lacks cron jobs (or I do not know yet how to easily control them).

Does a simple method (like fossil winsrv) exists to get the separate sub-process for backoffice processing also running as service? Or could the existing fossil winsrv command be extended to serve also backoffice functions?

(2) By Larry Brasfield (LarryBrasfield) on 2020-08-27 17:42:00 in reply to 1 [link] [source]

But windows lacks cron jobs (or I do not know yet how to easily control them).

See How to add a cron job or scheduled task on Windows.

The usual uses of Fossil are either (1) to produce effects immediately upon individual commands or requests; or (2) to do certain other things that do not fit the "immediately" execution model but need periodic attention.

Neither the cron daemon on Unixen or scheduled task mechanism on Windows is well suited for for what the backoffice subsystem does. It could be used, but then dependencies and permission issues would come into play, needlessly IMO.

Fossil does not install any Windows services, or rely upon any beyond those which support networking and other OS infrastructure.

(3) By MBL (RoboManni) on 2020-08-27 17:55:02 in reply to 2 [link] [source]

great link to info which I need - thank you. Learning never ends

(4) By MBL (RoboManni) on 2020-08-28 08:20:30 in reply to 2 [source]

Fossil does not install any Windows services, ..

The above shown command fossil winsrv is an exception to your statement then as it really installs and controls a Windows Service with a given name. Needs admin rights of cause.