I have a file in /etc/cron.hourly like this:<br><br>#!/bin/bash<br>/etc/init.d/voyage-sync sync<br><div style="margin: 2em 0pt;" name="sig_d54da95bb8"><strong>Jordi Soucheiron</strong><br>
Software Engineer<br>
<br>
<strong>DEXMA</strong><br>
Parc Tecnològic la Salle<br>
Sant Joan de la Salle, 42<br>
08022 Barcelona<br>
t/f: [+34] 93 181 01 96<br>
<a style="color: rgb(102, 153, 0);" href="http://www.dexmatech.com" target="_blank">www.dexmatech.com</a><br>
<a style="color: rgb(102, 153, 0);" href="mailto:jsoucheiron@dexmatech.com" target="_blank">jsoucheiron@dexmatech.com</a><br>
</div><div class="gmail_quote">2010/8/20 Robert <span dir="ltr"><<a href="mailto:Robert@supporttime.com">Robert@supporttime.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#FFFFFF"><div>Hey Jordi,</div><div><br></div><div>Thanks for your tip! That sounds like a great solution to the problem and will work perfectly for me!</div><div><br></div><div>I don't suppose you have an example of the script you can share with me?</div>
<div><br></div><div>And i assume you are scheduling the script hourly with cron?</div><div><br></div><div>Thanks mate.</div><div><br></div><div>Rob</div><div><br>Sent from my iPhone</div><div><div></div><div class="h5"><div>
<br>On 20 Aug 2010, at 07:39, Jordi Soucheiron <<a href="mailto:jsoucheiron@dexmatech.com" target="_blank">jsoucheiron@dexmatech.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Hi Robert,<br>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)<br>
<br>
<div class="gmail_quote">2010/8/19 Punky Tse <span dir="ltr"><<a href="mailto:punkytse@punknix.com" target="_blank"></a><a href="mailto:punkytse@punknix.com" target="_blank">punkytse@punknix.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

 Hi Robert,<br>
<br>
My suggestion would be looking into /etc/init.d/voyage-sync and /etc/default/voyage-util<br>
<br>
Regards,<br>
Punky<div><div></div><div><br>
<br>
On 19/8/2010 20:43, Robert wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div>
Hello Guys,<br>
<br>
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.<br>
<br>
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.<br>
<br>
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.<br>
<br>
What is the best way to achieve this?<br>
<br>
Thanks,<br>
<br>
Robert<br>
<br>
<br></div></div>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk" target="_blank"></a><a href="mailto:Voyage-linux@list.voyage.hk" target="_blank">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank"></a><a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</blockquote>
<br>
<br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk" target="_blank"></a><a href="mailto:Voyage-linux@list.voyage.hk" target="_blank">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank"></a><a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</blockquote></div><br>
</div></blockquote></div></div></div></blockquote></div><br>