Announcement

#1 2013-07-19 17:31:05

jimaek
Member
2013-05-17
41

Run sync via command line?

Is there any way to run the synchronization php script via console? I am having issues with timeouts.
My piwigo hosts almost 90.000 images so syncs can take a really long time.

Thanks

Offline

 

#2 2013-07-19 23:44:37

mendip_discovery
Member
Mendip Hills, Somerset, UK
2012-05-19
91

Re: Run sync via command line?

Are the images in 1 album?

I put images in smaller folders and then sync by album to save on processing.

Offline

 

#3 2013-07-19 23:48:17

jimaek
Member
2013-05-17
41

Re: Run sync via command line?

The images are in multiple albums but still I need to sync multiple albums at a time. Too many to do it via browser.

Offline

 

#4 2013-07-20 15:59:29

flop25
Piwigo Team
2006-07-06
7037

Re: Run sync via command line?

Console ?
If you own your hosting, increase the timeout! Or just keep typing F5 and "resend data" click yes.

There's a script in the tool folder, which could help you


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#5 2013-07-20 16:05:14

jimaek
Member
2013-05-17
41

Re: Run sync via command line?

I don't want to increase the timeout to such big numbers. Running from console would be much easier, safer and in general better thing to do. Browser is not for long scripts.
What script are you talking about?

Offline

 

#6 2013-07-20 16:13:05

flop25
Piwigo Team
2006-07-06
7037

Re: Run sync via command line?

Can't check right now but check it out. If I remember well its a perl script to modify


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#7 2014-11-01 20:39:45

Phong Luu
Member
2014-10-27
4

Re: Run sync via command line?

synchronize using the command line.you are use the sync-cmd-sds command to run synchronizations.

Offline

 

#8 2015-02-26 13:30:52

bocman
Member
2015-02-18
42

Re: Run sync via command line?

Phong Luu wrote:

synchronize using the command line.you are use the sync-cmd-sds command to run synchronizations.

Hello!
Where can I find sync-cmd-sds command?

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact