You can create this in simple steps
- Specify the minute, hour, days of the month, months, days of the week, and the command you wish to run
- Just copy the crontab entry below
- Paste it into your crontab by running
crontab -e
on your CPanel/WHM, Plesk or Linux based Servers - Make sure you change the command & path of the application
/usr/sbin/exim -bpru|grep frozen|awk {'print $3'}|xargs exim -Mrm
- The Above example command will clear the frozen mails of the mail Queue :)
* * * * * /usr/sbin/app-name command to execute