Can any one help me how to create a cron job to permanently delete log files every 60 min?

I have done the below to schedule a cron job that runs daily:




I created the following file in /etc/cron.daily/

--begin--
#!/bin/sh

rm /usr/sap/NDB/HDB00/backup/log/*.*

exit 0
---end---

and set DAILY_TIME="10:00" to run the script.

I also restarted the cron by using "rccron restart".




How can we set this to work on hourly basis and how to make this start running directly as I was told that the above will need around two days to start executing?


I am still new user for SUSE and Linux, please advise.

Kind Regards,
Marwa