Cron Job to make error_log file empty

If you want to make a cron job for error_log file to make it empty, go to cPanel -> Cronjobs and add the following
Command:

> /home/cablexo/public_html/error_log > /dev/null 2>&1

Remember to set the time of the cron Job