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 General Discussion
  • Search

Cron job not working

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
vest
Posts: 4
Joined: Sat Jul 21, 2018 6:45 am

Os: CentOS 6x
Web: apache + nginx
Cron job not working
  • Quote

Post by vest » Mon Apr 15, 2019 5:38 am

Hi, added my cron jon every minute and given path to file but i keep getting error.

/home/admin/web/domain_com/public_html/cron.php: line 1: ?php
: No such file or directory
/home/admin/web/domain_com/public_html/cron.php: line 2: $'\r': command not found
/home/admin/web/domain_com/public_html/cron.php: line 3: require: command not found
/home/admin/web/domain_com/public_html/cron.php: line 3: $'\r': command not found
/home/admin/web/domain_com/public_html/.php: line 4: require: command not found


What is wrong?
Why it says "no such file or directory?
I have file placed in right path?
Top

dreiggy
Posts: 154
Joined: Thu May 17, 2018 8:05 pm
Contact:
Contact dreiggy
Skype

Os: CentOS 6x
Web: apache + nginx
Re: Cron job not working
  • Quote

Post by dreiggy » Tue Apr 16, 2019 8:21 am

Hi,
May you show how you add your crontasks?
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “General Discussion”



  • 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