Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

cron job showing error

10 years 11 months ago
  • Mike's Avatar
    Topic Author
  • Mike
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Licenses:
JomSocial Expired

good mornig to all... i am trying to set up the cron job in my control panel and i have full access and have spoken to my suppory who say i have to put in the full path so i did as shown

/usr/bin/php /home/sites/MYDOMAIN NAME.com/public_html/index.php option=com_community task=cron


and i get the following error i have tried as told on your site and got the same error

Your script returned the following:
Status: 404 Not Found
X-Powered-By: PHP/5.3.28
Content-type: text/html

Attachments:
10 years 11 months ago
Licenses:

Hi, Mike.

Nooo, this will not work :)
Try: www.your-domain.com/index.php?option=com_community&task=cron

404 says that page is not fond... and is right as such a page don't exist.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 11 months ago
  • Mike's Avatar
    Topic Author
  • Mike
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Licenses:
JomSocial Expired

i get the following error

Your script returned the following:
Can't find ' www.MYDOMAINNAME.com/index.php?option=com_community&task=cron '. Check that you have the correct location.

10 years 11 months ago
Licenses:

Hi, Mike.

I fired cron manually: prntscr.com/3jdulb and as you can see it's available under url.
I add cron url in Miscellaneous field under your first post.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 11 months ago
  • Mike's Avatar
    Topic Author
  • Mike
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Licenses:
JomSocial Expired

hi sorry about this but my support says i have to point at a file for the cron job to work.... at the moment is is
/usr/bin/php /home/sites/MYDOMAIN.com/index.php?option=com_community&task=cron

as i can not use http:// i have to use the path to file in my CP

10 years 11 months ago
  • Mike's Avatar
    Topic Author
  • Mike
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Licenses:
JomSocial Expired

i have been told by my support i have to create a file to run the cron
what would be the code in the file that would run the cron job

ie i have set up a file called bump.php and the cron job will run the bump.php fine

so what code do i put inside bump.php so the job will run

10 years 11 months ago
Licenses:

Hi, Mike.

I'm sorry but this is rather your hosting issue than JomSocial.
Your hosting limits usage of cron so you have to point to a file in order to run script.
You know what url you need to run - just ask your hosting providers to prepare file for you... or ask on php forums.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW