Can someone let me know, how can we do this? I also know that I need to do a cron job for that, but how?
with any user you can type in "crontab -e" . It will open a window in which you can type in as follows : 5 * * * * /usr/bin/sarg(whatever the command you type on command prompt) and save this file. It will start executing the command after each 5 minutes.