is this daemon effiecient???

I just wanted a script to touch my files once a day so they don't get removed once a day from cleaning, however I was wondering if it was the most effiecient method?

comments are appreciated!

command-prompt>nohup toucher.sh &

Toucher.sh

#!/usr/local/bin/bash

while ((1))
do
touch *
sleep 86400
done

Looks good, though try considering the following:
1.) Change the touch * to touch /path/*
2.) Remove the sleep 86400
3.) Place the script in a cron job

If you're wanting to do this for all files either on the filesystem, or downwards from a certain place (i.e from /home/shakey/ onwards....) then best to use

find /home/shakey -exec touch {} \;

or

find / -exec touch {} \;

This will touch all files from that point onwards - then just cron it for whatever time as hell666 has suggested.

Using touch * or touch /path/* will only touch files in the specified directory.