Ctlscript.sh Cron job log

Keywords: LAMP/MAMP/WAMP - AWS - Technical issue - Upgrade
Description:
Hi,

Basis this, I have setup my cron but I would like to know if it’s working. How can I log these?

Hi @huzanforbes,

You can check the rsyslog for cron messages:

grep CRON /var/log/syslog 

Regards,
Michiel

Hi @michiel

Is there a way I can set alerts for my domain when the different error messages come?

Hi @huzanforbes,

You could forward log messages to a data processing pipeline like Logstash:

https://coralogix.com/blog/a-practical-guide-to-logstash-syslog-deep-dive/

Which is included in Bitnami ELK:

https://bitnami.com/stack/elk

Regards,
Michiel

Hi @michiel
Below is the log:

Hi @huzanforbes,

Could you give more details about the issue?

Regards,
Michiel