Page 1 of 1
Rollover batchfile
Posted: Sat 17 Oct 2009 10:53 am
by laulau
Would it be possible in the futur to have a batch file (perhaps cumulus.bat)run at each rollover for third-party program ?
Re: Rollover batchfile
Posted: Sat 17 Oct 2009 11:44 am
by steve
Possibly - but probably not in Cumulus 1. Not for a while, anyway. There's also the complication that for stations with loggers, the rollover can actually take place at any time depending on your pattern of when you have Cumulus running.
Cumulus 2 doesn't actually have rollovers; I'm trying to get away from that and the problems it can cause. It just logs everything to the database, and relies on SQL queries to extract the data for a particular period. So I'm not sure how that would work; it would just trigger the batch file at midnight or whatever, and in that case wouldn't it be simpler to just have a Windows scheduled task?
Re: Rollover batchfile
Posted: Sat 17 Oct 2009 12:17 pm
by laulau
I understand it's better that Cumulus don't support the rollover but i have no experience in Windows scheduled task.
If someone could advise me, it will be nice!
