Page 1 of 3
Cron Error
Posted: Fri Mar 15, 2019 5:36 pm
by tubeman
Hi,
I'm getting this in logs:
2019-03-15 13:16:28: Alert !!! Looks like crontab doesn't run cron.php every minute. Data file too big (0.018090009689331, 0.0084531307220459)
But when I check the cron its working fine and even script doesn't show any errors in main admin panel. Any idea how to fix this?
Regards,
Re: Cron Error
Posted: Fri Mar 15, 2019 5:45 pm
by admin
Hi,
check scj/data
do you see any large files?
Re: Cron Error
Posted: Fri Mar 15, 2019 5:50 pm
by tubeman
Yes I do - hits.data and last_click.data
Re: Cron Error
Posted: Fri Mar 15, 2019 5:52 pm
by admin
truncate those files
Re: Cron Error
Posted: Fri Mar 15, 2019 5:56 pm
by tubeman
How do I truncate those files exactly?
Re: Cron Error
Posted: Fri Mar 15, 2019 5:59 pm
by admin
hmmm ... ok ...
edit - delete everything - save
Re: Cron Error
Posted: Fri Mar 15, 2019 6:01 pm
by tubeman
Where do I edit this exactly? Delete via FTP? Any commands in SSH that I should Run on those files?
Re: Cron Error
Posted: Fri Mar 15, 2019 6:11 pm
by tubeman
Hi, I checked via FTP they are only 20 MB files, weird why stats are not processing on the site
Re: Cron Error
Posted: Sat Mar 16, 2019 3:52 am
by admin
did you truncate files using any tool you can use ?
Re: Cron Error
Posted: Mon Aug 19, 2019 7:23 pm
by tubeman
Hi,
I still have this issue on 1 site which has high traffic:
2019-08-19 13:06:01: Alert !!! Looks like crontab doesn't run cron.php every minute. Data file too big (0.2136869430542, 0.20806193351746)
The weird part is that only during traffic peak hours the hourly stats get frozen, remaining hours its fine. I even tried truncating the files in scj/data via FTP but it did not help. Asked hosting to check and they said in server logs there are no errors for the crons, but in scj admin area cron.log I can see the alert. Generally during this kind of situation is there any php limit that needs to be increased on server? Please let me know.