Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Automatic EasyPopulate export with cron


maxxxie

Recommended Posts

Hi all,

 

I currently use EasyPopulate (2.76c-MS2) to export and import product information to a CSV file. I'd like to automate the export process so that it runs once a day, and drops a file called "products.csv" into a publicly-accessible directory (ie httpdocs/somefolder/products.csv).

 

It seems that cron is probably the way to do this, but I have two questions:

 

1. EP lives in the httpdocs/admin folder, which is protected by .htaccess. How do I get around the admin password, short of moving EP to a folder under the httpdocs root (with associated path changes etc); and

 

2. How do I tell EP to dump the file into a different location than the normal ep-temp folder?

 

 

My guess on number 2 is to simply use a modified easypopulate.php file, with different paths/folder names to output, but I have no idea about question 1.

 

I know this has been asked before, but I can't find a definitive answer. Can anyone assist please?

 

Cheers,

Max

Link to comment
Share on other sites

  • 12 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...