Hi there,
Ive run into an odd problem with cron scripts failing when called by URL since installing IM360 on my Plesk servers.
These cron scripts would work if I called them by script location but nor URL. In some cases, adding domain name to hosts file would resolve the issue:
- backup cron script failed until adding domain name to hosts file
- website function which outputs PDF started outputting blank PDFs until adding domain name to hosts file
- cron job called by URL which checks for email stopped working after IM360 installed;
-- adding domain name to hosts file did not resolve;
-- changing cron job from URL to script partially worked;
-- Had to change script file includes to direct path from DOCUMENT_ROOT and this fixed script;
-- DOCUMENT_ROOT outputs correctly but still didnt work in cron script;
Im running Plesk 17.x on Centos 7 behind firewall using external>internal IPs.
Kind of an odd problem but issues started when I started using IM360 and I cant see anything in logs.
Anyone have any insights or suggestions?
---
IM360 is running great otherwise. I used to get 20-30 high resource usage notifications from Plesk before IM360 and not get none or 1 a day which is fantastic.
thx
G
Ive run into an odd problem with cron scripts failing when called by URL since installing IM360 on my Plesk servers.
These cron scripts would work if I called them by script location but nor URL. In some cases, adding domain name to hosts file would resolve the issue:
- backup cron script failed until adding domain name to hosts file
- website function which outputs PDF started outputting blank PDFs until adding domain name to hosts file
- cron job called by URL which checks for email stopped working after IM360 installed;
-- adding domain name to hosts file did not resolve;
-- changing cron job from URL to script partially worked;
-- Had to change script file includes to direct path from DOCUMENT_ROOT and this fixed script;
-- DOCUMENT_ROOT outputs correctly but still didnt work in cron script;
Im running Plesk 17.x on Centos 7 behind firewall using external>internal IPs.
Kind of an odd problem but issues started when I started using IM360 and I cant see anything in logs.
Anyone have any insights or suggestions?
---
IM360 is running great otherwise. I used to get 20-30 high resource usage notifications from Plesk before IM360 and not get none or 1 a day which is fantastic.
thx
G
Comment