Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cron Job error!!!!!
#1
Information 
Ive followed instructions here to add cron jobs http://wiki.thehostingtool.com/index.php...e_Cron_Job

Ive run the following command
Code:
php -q/home/username/public_html/more/includes/cron.php

But getting this error.
Code:
/bin/sh: php-p/home/username/public_html/more/includes/cron.php: No such file or
directory

Any ideas why?

Reply
#2
I'm kinda betting that your username is Not username.... Make sure the path is correct.

also you need a space after -q
[Image: sig.png]
Reply
#3
Good eye zzbomb
Reply
#4
Nope still get the error.

Command exactly what im running.
Code:
php -q/home/vivahosts/public_html/more/includes/cron.php

And the error message.
Code:
Cannot bind/listen socket - [2] No such file or directory.
Couldn't create FastCGI listen socket on port lic_html/more/includes/cron.php
Reply
#5
Nevermind, it was an issue server side causing the error.

Thanks anyhow Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)