I have a cronjob which runs every 5 minutes all the day in a week. I want to stop this cronjob for 2 hrs only on Sunday. Could you pls help me to set this.
Rather than mess with esoteric crontab schedule entries, have your script check for a file and to not do a full run if the file is present. Then, schedule a second script in cron to create that file on Sunday at the time you want the other script to stop, and then another script 2 hours later in cron to remove the file.
That way, you can be flexible about when the main script does and doesn't run by just changing the times of the create/remove scripts.