Cronjob not run in Admin Panel
-
- Posts: 7
- Joined: Tue Mar 06, 2018 5:27 am
- Os: Ubuntu 15x
- Web: apache + nginx
Cronjob not run in Admin Panel
Hello support,
im running a php script that required cronjob to make it work.
So im setup cronjob like this:
But when im looking on access log, there is nothing action from cronjob.
Im testing other website that supply cronjob, "Its WORK"..
Hmmm... this is weird when my vesta panel cronjob not working?
Try troubleshoot like this:
give out error like this:
*domain.com in real was mine, just put example here.
Anyone have a clue about this?
What should i do to fix this and make my cronjob run well?
Thanks in advance.
im running a php script that required cronjob to make it work.
So im setup cronjob like this:
Code: Select all
wget -O /dev/null https://domain.com/cron >/dev/null 2>&1
Im testing other website that supply cronjob, "Its WORK"..
Hmmm... this is weird when my vesta panel cronjob not working?
Try troubleshoot like this:
Code: Select all
wget -O /dev/null https://domain.com/cron >> log.txt
Code: Select all
--2018-09-04 20:50:14-- https://domain.com/cron
Resolving domain.com (domain.com)... 127.0.1.1
Connecting to domain.com (domain.com)|127.0.1.1|:443... failed: Connection refused.
Anyone have a clue about this?
What should i do to fix this and make my cronjob run well?
Thanks in advance.
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: Cronjob not run in Admin Panel
I think this is because your server (nginx) listen VPS IP, not a 127.0.1.1.
-
- Posts: 7
- Joined: Tue Mar 06, 2018 5:27 am
- Os: Ubuntu 15x
- Web: apache + nginx
Re: Cronjob not run in Admin Panel
Where can i check this?
this is weird because i have 2 droplet. 1 old, and this new one.
all the same installation by default.
the old vps running OK, nothing error on cronjob.
Just this new VPS with new installation.