Guest Posted February 4, 2004 Share Posted February 4, 2004 I need easy populate files to be generated at least once per day and stored on the server. Could I use a cron job somehow to do this? Quote Link to comment Share on other sites More sharing options...
Krytor Posted February 10, 2004 Share Posted February 10, 2004 Try something like this with Perl: #!/usr/bin/perl use LWP::Simple; $doc = get('http://myurl.com/catalog/easypopulate.php?download=tempfile&dltype=full'); This executes a PHP page using Perl. If you want to keep the page output, the output is in $doc. As-is, this will fail if the URL is password protected. Add a cron entry to run the Perl script once it is working. Quote Link to comment Share on other sites More sharing options...
Guest Posted March 10, 2004 Share Posted March 10, 2004 Easy Populate is in the admin section and that is pasword protected. Is there a way around that? Quote Link to comment Share on other sites More sharing options...
alexiscruz007 Posted November 12, 2019 Share Posted November 12, 2019 tried dominio.com/admin/easypopulate.php?usrfl=listproduct.csv Or maybe find $file = tep_get_uploaded_file('usrfl'); and change to: $file = $_GET['csv']; and call dominio.com/admin/easypopulate.php?csv=listproduct.csv i dont test this. Quote Link to comment Share on other sites More sharing options...
alexiscruz007 Posted November 12, 2019 Share Posted November 12, 2019 Maybe find $file = tep_get_uploaded_file('usrfl'); change to $file = $_GET['csv']; and call yourweb.com/admin/easypopulate.php?csv=listproduct.csv i dont test this. Quote Link to comment Share on other sites More sharing options...
ArtcoInc Posted November 12, 2019 Share Posted November 12, 2019 @alexiscruz007 Just so you know, you've been answering questions that were asked 10-15 years ago, by people that haven't been online for almost as long. Quote Link to comment Share on other sites More sharing options...
alexiscruz007 Posted November 12, 2019 Share Posted November 12, 2019 thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.