Sandaysoft

Support forum for Cumulus weather station software
It is currently Wed Jun 19, 2013 11:52 am
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Cumulus 1.9 run as a Windows service
PostPosted: Wed Nov 03, 2010 2:29 pm 
Offline
User avatar

Joined: Sat Oct 30, 2010 3:29 pm
Posts: 20
Location: St-Alban, Quebec, Canada
Weather Station: National Geographic 265NC
Operating System: Windows XP Pro
I have setup my computer so that "Cumulus.exe" run as a "Windows" service. The service does start OK and so is the "Cumulus" application as seen in the "Task Manager". The issue is that "Cumulus" does not upgrade my FTP web pages. Does anyone solved this issue?

Ref. : How to run an application as a Windows service:
http://www.tacktech.com/display.cfm?ttid=197

_________________
Angile


Top
 Profile  
 
 Post subject: Re: Cumulus 1.9 run as a Windows service
PostPosted: Wed Nov 03, 2010 3:28 pm 
Offline
User avatar

Joined: Tue Jul 29, 2008 8:00 pm
Posts: 2001
Location: Thornhill, Dumfries, UK
Weather Station: WH1081
Operating System: Mac OSx & Win 7
This may help... viewtopic.php?f=11&t=1075&p=10030

Not sure why you would want to run it as a service -- You will be unable to interact with the Cumulus interface

_________________
David
Contact Me


Top
 Profile  
 
 Post subject: Re: Cumulus 1.9 run as a Windows service
PostPosted: Wed Nov 03, 2010 4:23 pm 
Offline
User avatar

Joined: Sat Oct 30, 2010 3:29 pm
Posts: 20
Location: St-Alban, Quebec, Canada
Weather Station: National Geographic 265NC
Operating System: Windows XP Pro
When you run Windows and that your system is automaticaly updated, it can reboot by itself and wait until you open your personnal session. That is why, running Cumulus as a service, will restart your Cumulus application, without having to login and re-open a session.

_________________
Angile


Top
 Profile  
 
 Post subject: Re: Cumulus 1.9 run as a Windows service
PostPosted: Wed Nov 03, 2010 4:27 pm 
Offline
User avatar

Joined: Tue Jul 29, 2008 8:00 pm
Posts: 2001
Location: Thornhill, Dumfries, UK
Weather Station: WH1081
Operating System: Mac OSx & Win 7
I appreciate what a service does -- just can't think 'why' given you can not interact :?

Having said that I rarely look at Cumulus and rely more on the website of data. I also never allow auto-reboots ;)

I know Steve was planning Cumulus 2 as a Service for the data collection and also a front end for interaction -- of course that is all subject to change.

_________________
David
Contact Me


Top
 Profile  
 
 Post subject: Re: Cumulus 1.9 run as a Windows service
PostPosted: Wed Nov 03, 2010 4:38 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17834
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
I just have auto-login set, with Cumulus in the startup folder. Works for me, but I appreciate that not everyone wants to use auto-login.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Cumulus 1.9 run as a Windows service
PostPosted: Wed Nov 03, 2010 4:59 pm 
Offline

Joined: Mon Jan 25, 2010 1:55 pm
Posts: 623
Location: Brighton, UK
Weather Station: Watson W-8681
Operating System: Vista
steve wrote:
I just have auto-login set, with Cumulus in the startup folder. Works for me, but I appreciate that not everyone wants to use auto-login.


That's exactly what I do. Surely if you run it as a service you would lose the ability of being notified of FTP errors, or forcing a web-update for example. I guess all the configuration stuff i.e. internet file names, upload frequency could be set in the config files. I too rarely look at the Cumulus console (I use the website mainly), but don't think I could do without it.

_________________
Paul

http://www.greatcollegestreet.co.uk -Online
http://www.lehamel.eu - Online

Image Image


Top
 Profile  
 
 Post subject: Re: Cumulus 1.9 run as a Windows service
PostPosted: Wed Nov 03, 2010 5:16 pm 
Offline
User avatar

Joined: Sat Oct 30, 2010 3:29 pm
Posts: 20
Location: St-Alban, Quebec, Canada
Weather Station: National Geographic 265NC
Operating System: Windows XP Pro
Bad for security. Setting your system to auto-login, is at my point of view, not recommended because anybody that will power-up your desktop, will have access to all your datas and settings.

I would prefer being able to run Cumulus in background (as an auto-start service) and stopping occasionally this service when I need to access Cumulus application and it settings. Doing so, your desktop will act as a pseudo-server.

_________________
Angile


Top
 Profile  
 
 Post subject: Re: Cumulus 1.9 run as a Windows service
PostPosted: Wed Nov 03, 2010 5:21 pm 
Online
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2596
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Many years ago when I last used svrany, I remember using the 'interact with desktop' option to make the executable visible. Don't know if this is still viable?

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Cumulus 1.9 run as a Windows service
PostPosted: Wed Nov 03, 2010 11:52 pm 
Offline

Joined: Tue Aug 03, 2010 6:23 am
Posts: 484
Location: Ferntree Gully, VIC, Oz
Weather Station: WM918
Operating System: Win Server 2008 R2
daj wrote:
Not sure why you would want to run it as a service -- You will be unable to interact with the Cumulus interface

Being realistic about it, once Cumulus is set up properly, there shouldn't be any reason to 'interact' with it - at least, that's the way I see it.

steve wrote:
I just have auto-login set, with Cumulus in the startup folder. Works for me, but I appreciate that not everyone wants to use auto-login.


The problem with having Cumulus (or any program for that matter) set to start in the start-up folder is that someone MUST log in - whereas with a service, the program can start on computer re-start even if no one logs in.

I have my set up using a Windows 2008 server - it is part of my photography site (holds images once traffic has died down on them) - so I want the server to updated regularly. Plus, because it is in a secure location (well, under thehouse!) it has no keyboard, mouse or screen - if I need to get onto it I remotely log in. So, when an update is done, it reboots, the services run and, as part of those services, Cumulus just sits there nicely doing its work. I installed AlwaysUp (commercial app) to control Cumulus which does alllow me, if I want, to have it run as a desktop app when I log in as well - but I prefer not to. By running wconsole.htm over the internal network I can see what conditions are and ensure it is working OK.

_________________
Punctuation is the difference between 'Let's eat, grandma' and 'Let's eat grandma'


Top
 Profile  
 
 Post subject: Re: Cumulus 1.9 run as a Windows service
PostPosted: Wed Jan 25, 2012 11:49 pm 
Offline

Joined: Wed Jan 25, 2012 11:13 pm
Posts: 2
Location: Algés, Portugal
Weather Station: Watson W8681
Operating System: Win XP - pro 32 bit
Hi,

I am new to Cumulus, but no so much to IT, computers and windows.

My approach was a "middle of the road" one.

I created a limited user, that is always running, and where I have Cumulus running also (and feeding the weather underground).

This way I have access to the console and the data is updated. If the computer reboots, all I need is to log in remotely, and I start everything, or I ask someone at home to start the pc and log in as the user (Cumulus is in the startup folder of the user).

This user is part of the RemoteUser and the PowerUser and has full control of the cumulus folder.

If you need "step-by-step" instructions, just drop a line here.

Fair wind to all...
JF

http://www.casadasmaquinas.eu/cumulus


Top
 Profile  
 
 Post subject: Re: Cumulus 1.9 run as a Windows service
PostPosted: Thu Jan 26, 2012 8:40 am 
Offline

Joined: Tue Aug 03, 2010 6:23 am
Posts: 484
Location: Ferntree Gully, VIC, Oz
Weather Station: WM918
Operating System: Win Server 2008 R2
The only problem with that method is that if the PC reboots and you aren't immediately aware of it (Windows update at 3am for instance) or aftewr a power failure, you MUST have someone log in for the user to become active and your application to start running - thus potentially causing missing data etc.

Programs such as Always Up allow you to force the program to run as a start up service so it doesn't matter if you aren't there when the PC re-starts.

Mine, for instance, although connected to a UPS and set up to have a programmed shut down if power does go off (the UPS is able to power the Windos server, two NAS servers, 24 port managed switch, security PC and security cameras for 25 minutes) but the MoBo is also set up to automatically start when the power comes back on - so the only time it is ever off is if a power failure lasts for more than 20 minutes (my programmed shut down time).

_________________
Punctuation is the difference between 'Let's eat, grandma' and 'Let's eat grandma'


Top
 Profile  
 
 Post subject: Re: Cumulus 1.9 run as a Windows service
PostPosted: Thu Jan 26, 2012 8:57 am 
Online
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2596
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
I use the limited user and a link to Cumulus in the Startup folder approach too, but also set the user to auto-login on system start-up. Being a laptop though (no power outages!) it has never rebooted other than when I initiate it after a patch update. The auto-login means I can remotely reboot from work/hotel etc if required and everything comes back up again.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Cumulus 1.9 run as a Windows service
PostPosted: Thu Jan 26, 2012 9:23 am 
Offline

Joined: Tue Aug 03, 2010 6:23 am
Posts: 484
Location: Ferntree Gully, VIC, Oz
Weather Station: WM918
Operating System: Win Server 2008 R2
Mark - the use of start-up still requires someone to log in though (been there, tried that!) that's why it needs to run as an adminisrative service

_________________
Punctuation is the difference between 'Let's eat, grandma' and 'Let's eat grandma'


Top
 Profile  
 
 Post subject: Re: Cumulus 1.9 run as a Windows service
PostPosted: Thu Jan 26, 2012 9:26 am 
Online
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2596
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
not if you set the username/password in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon ;)

Edit: Normally used during automated builds, to run a post Windows install script to preform configurations then logoff again. In this case you set the AutoLoginCount to 1 (or how ever many reboots your script requires) so it auto-disables after the first boot, but setting the count to 0 (zero) means it stays in effect for ever.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Cumulus 1.9 run as a Windows service
PostPosted: Thu Jan 26, 2012 10:05 am 
Offline

Joined: Tue Aug 03, 2010 6:23 am
Posts: 484
Location: Ferntree Gully, VIC, Oz
Weather Station: WM918
Operating System: Win Server 2008 R2
Except that leaves an open system doesn't it? i.e. a user is permanently logged in. The other methods (similar to the one(s) I described above) mean that the program runs as a service without anyone being logged in so, if anyone does get to the screen, they still have to log in to get access to programs, files etc.

_________________
Punctuation is the difference between 'Let's eat, grandma' and 'Let's eat grandma'


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group