Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Cronjob not run in Admin Panel

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
solehpolysas
Posts: 7
Joined: Tue Mar 06, 2018 5:27 am

Os: Ubuntu 15x
Web: apache + nginx
Cronjob not run in Admin Panel
  • Quote

Post by solehpolysas » Tue Sep 04, 2018 12:53 pm

Hello support,
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
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:

Code: Select all

wget -O /dev/null https://domain.com/cron >> log.txt 
give out error like this:

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.
*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.
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Cronjob not run in Admin Panel
  • Quote

Post by grayfolk » Tue Sep 04, 2018 1:46 pm

I think this is because your server (nginx) listen VPS IP, not a 127.0.1.1.
Top

solehpolysas
Posts: 7
Joined: Tue Mar 06, 2018 5:27 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Cronjob not run in Admin Panel
  • Quote

Post by solehpolysas » Tue Sep 04, 2018 1:49 pm

grayfolk wrote: ↑
Tue Sep 04, 2018 1:46 pm
I think this is because your server (nginx) listen VPS IP, not a 127.0.1.1.
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.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password