Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cronjob to update currencies regularly


RLW

Recommended Posts

Posted

Hi there!

 

I have just attempted to set up my first cronjob to update currencies regularly through CPanel and have received the following error message:

 

/bin/sh: line 1: php/http://www.riversliving.com/catalog/admin/update_currencies.php: No such file or directory

 

Is someone able to tell me how to now edit the cronjob through CPanel and what the script should be?

 

Ive tried googling the problem but just can't get my head around all the technical jargon they use.

 

Thanks for you help,

 

RLW

Posted
Hi there!

 

I have just attempted to set up my first cronjob to update currencies regularly through CPanel and have received the following error message:

 

/bin/sh: line 1: php/http://www.riversliving.com/catalog/admin/update_currencies.php: No such file or directory

 

Is someone able to tell me how to now edit the cronjob through CPanel and what the script should be?

 

Ive tried googling the problem but just can't get my head around all the technical jargon they use.

 

Thanks for you help,

 

RLW

Have a look at the currency updater contributions.

Posted

crons are executed to some extent depending on server permissions and setting.

 

The best bet is to ask Your hosting company.

They will support You with exact solution.

 

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted
Have a look at the currency updater contributions.

Hi.

 

I've already added the Currency Updater Contribution, but from what I can understand from what I've read, to get the currencies to update every few days, you have to set up a cronjob.

 

This is the error message I'm now getting from the cronjob daemon:

 

/bin/sh: line 1: /usr/local/bin/php/home/riversli/public_html/catalog/admin/update_currencies.php/usr/local/bin/php: Not a directory

 

Anyone know how to fix this?

 

Thanx.

Posted
crons are executed to some extent depending on server permissions and setting.

 

The best bet is to ask Your hosting company.

They will support You with exact solution.

Satish

 

Thanx Satish,

 

I'm in contact with them but the path they gave me to try last time brought up the following error message:

/bin/sh: line 1: /usr/local/bin/php/home/riversli/public_html/catalog/admin/update_currencies.php/usr/local/bin/php: Not a directory

 

I've asked them for help again. Hopefully they'll have the answers.

Posted

admin is password protected os cron probably will not get executed.

Place the script in user section and set thru cron and chek.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted
admin is password protected os cron probably will not get executed.

Place the script in user section and set thru cron and chek.

 

Satish

Thanx for that. I'm sorry I don't understand where I have to place the script. What is the user section?

 

RLW

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...