I have a file in /etc/cron.hourly like this: #!/bin/bash /etc/init.d/voyage-sync sync *Jordi Soucheiron* Software Engineer
*DEXMA* Parc Tecnològic la Salle Sant Joan de la Salle, 42 08022 Barcelona t/f: [+34] 93 181 01 96 www.dexmatech.com [email protected] 2010/8/20 Robert <[email protected]> > Hey Jordi, > > Thanks for your tip! That sounds like a great solution to the problem and > will work perfectly for me! > > I don't suppose you have an example of the script you can share with me? > > And i assume you are scheduling the script hourly with cron? > > Thanks mate. > > Rob > > Sent from my iPhone > > On 20 Aug 2010, at 07:39, Jordi Soucheiron <[email protected]> > wrote: > > Hi Robert, > I had a similar problem. What I did is to make a script that syncs the tmp > and the real fs every hour. This way if data gets lost only the last hour of > data is erased (that was enough for my application) > > 2010/8/19 Punky Tse < <[email protected]>[email protected]> > >> Hi Robert, >> >> My suggestion would be looking into /etc/init.d/voyage-sync and >> /etc/default/voyage-util >> >> Regards, >> Punky >> >> >> On 19/8/2010 20:43, Robert wrote: >> >>> Hello Guys, >>> >>> I hope you are all well. It’s been quite some time since I’ve done any >>> work with Voyage but I now have a new project which it’ll suit perfectly. >>> >>> I see we’re now running a stable release of 0.6.5 which appears to have a >>> bunch of changes to the way the FS is handled. >>> >>> The application in question writes to a few files which will need to be >>> maintained on the disk in the event of a reboot / power-loss. >>> >>> What is the best way to achieve this? >>> >>> Thanks, >>> >>> Robert >>> >>> >>> _______________________________________________ >>> Voyage-linux mailing list >>> <[email protected]>[email protected] >>> <http://list.voyage.hk/mailman/listinfo/voyage-linux> >>> http://list.voyage.hk/mailman/listinfo/voyage-linux >>> >> >> >> _______________________________________________ >> Voyage-linux mailing list >> <[email protected]>[email protected] >> <http://list.voyage.hk/mailman/listinfo/voyage-linux> >> http://list.voyage.hk/mailman/listinfo/voyage-linux >> > >
_______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux
