Nem kell ide semmi bash.
Berakod cronba és kész is, pl igy:
/etc/cron/valami
*/5 * * * * root [-x /eleresi/ut/a/scripthez] && /eleresi/ut/a/ /eleresi/ut/a/scripthez
Ez jó kis leírás:
http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/
-------------------------
127.0.0.1 SWEET 127.0.0.1
AMD Athlon X2 245E@3,1 GHz OC, MSI Radeon 6770 1 Gb GDDR5, Seagate Barracuda, Windows 7 Enterprise