1 (edited by cousinhub 2020-09-07 22:13:26)

Topic: cron job

Hi,

Didn't find any question relative to my issue (or misunderstanding ?)
I created a cron job on my hosting provider, no trouble, seems to work, receive a daily report

Of course, switched cron data in the settings and as my provider makes it, chose "local" host

For every event I create/modify, I receive an email, great  ! (rp not ..)
But, I created two events in order to test the night job
And ... nothing, no mail, only the provider sending a notification "cron job ok".
Mmhh .. where's the mistake ?
Now I tried with "distant" host, let check but I don't think it will change anything.
LuxCal 4.7.8

Re: cron job

Hi Hubert,

I need some more details . . .
What does your daily report say? Does it say that email reminders have been sent?
For every event created/modified you receive an email, but these emails are sent directly and not through a cron job. It shows however that the PHP maill function is working. So yes, great.
But the question above is important for the analysis of the problem, did the daily report say that email reminders have been sent?

What does the file logs/luxcal.log say? Does it say "Cron Job started"? and "OK."?

Roel

3 (edited by cousinhub 2020-09-12 09:59:45)

Re: cron job

Full answer by mail but the log file is empty ...
Not sure I understood all the cron job working way ...

Thx for help !

Re: cron job

Well, Roel gave me some tips and the issue disappeared ...
Cron task is working the way I wanted to.
Doc is maybe a little light, take care to "call" the dedicated cron php which is lcalcron.php and to put on the good data on the cron server

Thx Roel !