I am having several data losses due to power outages, at the moment I can't buy an UPS. I am trying to use sync in a script to force data flow. I don't know if there is any other more elegant way
this put in a script which runs in crontab with @reboot
any suggestion or idea
welcome
Code:
#!/bin/sh
while :
do
sync
sleep 1
done
any suggestion or idea
welcome