You are here:  » Running uidmap.php using wget


Running uidmap.php using wget

Submitted by ChrisNBC on Thu, 2014-07-17 11:25 in

Hi David,

Hope all is going well.

A while back you devised a way that I could run the fetch and slow-import cron scripts by using wget from a machine I run at home 24/7. I'm running into similar issues with the uid mapping script and I wondered if you might be able to suggest a way I could run this script in the same way by calling it remotely maybe using wget?

Thanks in advance.

Regards

Chris

Submitted by support on Thu, 2014-07-17 12:36

Hello Chris,

uidmap.php doesn't require any specific parameters, so I would start with a copy of your wget based command line calling fetch.php (as this will pull in all the timeout / other settings required), and then simply replace fetch.php?filename=@ALL with uidmap.php and that should give you the full command to use...

Cheers,
David.
--
PriceTapestry.com

Submitted by ChrisNBC on Thu, 2014-07-17 15:17

Hi David,

Thanks for the quick response...

After the problems setting up the other wget commands, I really didn't expect it to be that simple!!...but I have made the change as you suggested and it worked first time!..

Thanks again.

Regards
Chris