Cronicle icon indicating copy to clipboard operation
Cronicle copied to clipboard

Install Cronicle on Windows

Open caneryalcin opened this issue 2 years ago • 5 comments

I am curious about cronicle but I couldn't way to install cronicle on windows.

If there is a way could you please informe me.

caneryalcin avatar Sep 03 '21 09:09 caneryalcin

No, it won't work on windows. It's using things like symlinks and linux style permissions/execution. As far as I remember it also uses ps utility to grab server stats. Probably something else. But it sounds like it totally doable to adopt this for windows though. I think the new version will use some cross platform module for stats, and symlinks is easy to replace with file copy.

I used to run bunch of powershell scripts on windows server. I was evaluating a tool which is now is called "Powershell Universal" for job scheduling, but cronicle is much better (to my mind) and free. I was able to port everything to powershell core (which can run on linux). So in case you are not dealing with some windows-only stuff you can probably do the same

mikeTWC1984 avatar Sep 08 '21 03:09 mikeTWC1984

My solution for this problem is running an ssh-server on the windows host. Then I can connect from cronicle with ssh to the host and execute the command remotly. Not the sleekest solution. But it works. ;-)

mcfetz avatar Sep 08 '21 06:09 mcfetz

I may have found a solution. Just use cronicle on docker. You can use docker on windows and also docker commands on powershell. https://hub.docker.com/r/bluet/cronicle-docker via this link I installed image of cronicle and initialized. In the link it shows how you will install image and run.

caneryalcin avatar Sep 08 '21 07:09 caneryalcin

I may have found a solution. Just use cronicle on docker. You can use docker on windows and also docker commands on powershell. https://hub.docker.com/r/bluet/cronicle-docker via this link I installed image of cronicle and initialized. In the link it shows how you will install image and run.

I need to execute some old .NET framework binaries that are windows only so running them under a POSIX like OS isn't an option for me. Would really like to see this get windows adoption!

KieranDevvs avatar May 11 '22 21:05 KieranDevvs

If anyone is still interested, I was able to make cronicle work on windows with relatively small changes. I started a discussion if you need more details https://github.com/jhuckaby/Cronicle/discussions/579

mikeTWC1984 avatar Feb 28 '23 06:02 mikeTWC1984