Broken report sending constant emails
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Broken report sending constant emails
One of my coworkers created a scheduled report (State History) and did something wrong so that he started getting emails every 5 minutes or so. He deleted the report to try and fix the issue but is still getting the emails, and has gotten about 980 since yesterday. How do I stop the emails coming in when there's no longer a report to remove?
Re: Broken report sending constant emails
I wonder if the report was not actually removed from cron for some reason, even though it is not visible in the GUI... You can run the following command from the command line to see all of the scheduled reports:
You can check the usernames to see if this user's report is still scheduled.
Is it possible that the report was copied to a different user? Perhaps, the "original" user deleted it, but the report is sent by someone else?
If you find the offending line in the crontab, you can remove it by editing the file:
Hope this helps.
Code: Select all
crontab -u apache -lIs it possible that the report was copied to a different user? Perhaps, the "original" user deleted it, but the report is sent by someone else?
If you find the offending line in the crontab, you can remove it by editing the file:
Code: Select all
crontab -u apache -eBe sure to check out our Knowledgebase for helpful articles and solutions!
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Broken report sending constant emails
How do I edit that file? Sorry, not super familiar with cron.
Re: Broken report sending constant emails
When you open the file by running:
it should open in the "default" text editor. Most probably, this is going to be "vi".
Go up/down using the arrows on the keyboard. When the cursor lines up with the line that you would like to delete, hit the "d" button on the keyboard twice. The line should be gone now. To save changes, and exit, type:
and hit "Enter".
Did you find the report that you need to remove?
Note: Keep in mind that if the report was not deleted from the GUI, it would still show up in the web UI, even though it would not run.
Code: Select all
crontab -u apache -eGo up/down using the arrows on the keyboard. When the cursor lines up with the line that you would like to delete, hit the "d" button on the keyboard twice. The line should be gone now. To save changes, and exit, type:
Code: Select all
:wqDid you find the report that you need to remove?
Note: Keep in mind that if the report was not deleted from the GUI, it would still show up in the web UI, even though it would not run.
Be sure to check out our Knowledgebase for helpful articles and solutions!