we are having various cron jobs but randomly the cron job results to "You are not allowed to access this area". This happens very randomly, out of 10 times that the cron will run around 4-5 will give this message.
We tried disabling Access Restrictions addon but outcome is still the same.
Crons are running with the /usr/bin/curl command.
Server is running with WHM/Cpanel.
What cron tasks do you mean? Default modules or custom made?
Try to contact module developers at first. As it is hard to say anything without code examination
if your cron jobs are causing redirects, then you will most likely encounter problems with authentication in either customer or admin areas unless the authentication is setup properly by the script that is the wrapper for the cron job.
As Ecom said, you should contact the developer.