Forum Moderators: open
I need a cron job to delete all the files with
the extension .ram in the path /home/public/ram
Please help me out.........
Vins
If you are using bash, here is some sample code to delete your files.
#! /bin/bash
rm -f /home/public/ram/*.ram
Just save that in a file and chmod to make it executable (make sure you test before using it full tilt)
As for setting it up as a cron job, check out the following threads, between the two you should be well on your way.
[webmasterworld.com...]
[webmasterworld.com...]