Support

Akeeba Ticket System

#16699 How to switch off CRON messages

Posted in ‘Akeeba Ticket System for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Ticket System version
n/a

Latest post by zebrafilm on Thursday, 01 August 2013 03:32 CDT

zebrafilm
 Hi Nicholas,

I have setup a cronjob to retrieve emails from an IMAP box. Set to delete after retrieve.
Runs every 15 minutes but I can't find a way to stop the ATS email confirmations every 15 min.

The cronjob runs with -q but I can't find a way to silence the email every 15 min.

On a side note:
When there is a message it the mailbox it works but I have set it to delete after retrieve and when there is no message I keep getting error messages. Might be related?

Bastiaan

nicholas
Akeeba Staff
Manager
> The cronjob runs with -q but I can't find a way to silence the email every 15 min.

This is actually a Linux administration question, but you're lucky because I know the answer :) You just have to append
 1> /dev/null 2> dev/null

to your CRON job command line. This tells your operating system to redirect output messages and error messages to /dev/null (in other words, ignore them). Since the output of the CRON job is now empty, the CRON daemon does not send out an email on completion.

> When there is a message it the mailbox it works but I have set it to delete after retrieve and when there is no message I keep getting error messages. Might be related?

No, this is normal. Just ignore it.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

zebrafilm
Turned out dev/null does not work in Plesk panel but there is a general setting to switch off all CRON messages.
Thanks for your feedback!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!