Page 1 of 1

Crontab log location

PostPosted: Sun Sep 04, 2022 4:37 am
by salem87
good day
am looking to find the log file for cron , i just want to see if it run the task as should be.
please is there any help to find it.


Vicidial 10.0.1
http://download.vicidial.com/iso/vicibox/server/ViciBox_v10.x86_64-10.0.1.iso
VERSION: 2.14-864a
BUILD: 220829-1036

Re: Crontab log location

PostPosted: Mon Sep 05, 2022 3:05 am
by salem87
Up please.

Re: Crontab log location

PostPosted: Mon Sep 05, 2022 9:45 am
by carpenox
/var/log/cron

Re: Crontab log location

PostPosted: Tue Sep 06, 2022 2:20 am
by salem87
thank you carpenox for the response
but sadly cant find it as below
https://ibb.co/Y2yJT2v

i found something in
/var/log/asterisk/messages

but it doesn't show the cron job if it runs or not

Re: Crontab log location

PostPosted: Tue Sep 06, 2022 5:14 am
by mflorell
To see the system logs, try the following command:

journalctl --system -r


To see any output from the cron processes, you will have to look in the root mailbox. I usually like to install the 'alpine' package and then use 'pine' the view the mail.

Re: Crontab log location

PostPosted: Tue Sep 06, 2022 9:23 am
by salem87
mflorell wrote:To see the system logs, try the following command:

journalctl --system -r


To see any output from the cron processes, you will have to look in the root mailbox. I usually like to install the 'alpine' package and then use 'pine' the view the mail.


thank you so much now i can see it :o :o