Scheduled Report not working
Posted: Wed Jul 21, 2021 5:21 am
Hi,
We have few scheduled reports for daily, weekly, monthly and was not triggering/sending as scheduled.
Also we have troubleshooted below steps : (getting outputs as per troubleshoot but reports are not sending)
{
The first step is to check the contents of the apachecrontab file with the following command:
cat /var/spool/cron/apache
Once you've done this, go and schedule a report as a test.
After that, execute the command above to view the crontab file again.
If there is no change in the output, execute the following command:
grep crontab /var/log/httpd/*
If you see this error message:
You (apache) are not allowed to use this program (crontab)
Thecron.allowfile needs updating to resolve this issue.
Execute the following command to add theapacheuser to the/etc/cron.allowfile:
echo apache >> /etc/cron.allow
Once you have made this change, go schedule the report again and the/var/spool/cron/apacheshould now be updated.
}
Please help me in resolving this issue.
Thanks in advance!
We have few scheduled reports for daily, weekly, monthly and was not triggering/sending as scheduled.
Also we have troubleshooted below steps : (getting outputs as per troubleshoot but reports are not sending)
{
The first step is to check the contents of the apachecrontab file with the following command:
cat /var/spool/cron/apache
Once you've done this, go and schedule a report as a test.
After that, execute the command above to view the crontab file again.
If there is no change in the output, execute the following command:
grep crontab /var/log/httpd/*
If you see this error message:
You (apache) are not allowed to use this program (crontab)
Thecron.allowfile needs updating to resolve this issue.
Execute the following command to add theapacheuser to the/etc/cron.allowfile:
echo apache >> /etc/cron.allow
Once you have made this change, go schedule the report again and the/var/spool/cron/apacheshould now be updated.
}
Please help me in resolving this issue.
Thanks in advance!