Page 1 of 1

Cron Cron TAB

Posted: 24 Jul 2010, 06:02
by Watts
Hello,
is possibility to use an cron job tab to generate automaticly the thumbnails and gallery ? Regards

Posted: 24 Jul 2010, 06:55
by carter2
You want to crate thumbnails at a specific time?

Posted: 24 Jul 2010, 08:53
by Watts
carter2 wrote:You want to crate thumbnails at a specific time?
Yes but automaticly with cron tab job ?
an idea ?
regards

Posted: 24 Jul 2010, 23:19
by mjau-mjau
Why not just create them with the PHP interface once they are uploaded? Can hardly take a long time ...

Posted: 25 Jul 2010, 12:14
by Watts
mjau-mjau wrote:Why not just create them with the PHP interface once they are uploaded? Can hardly take a long time ...
Hello, because i don't want to click "some buttons" to do that, i prefer automaticly...
An idea also ?
Regards

Posted: 26 Jul 2010, 05:45
by mjau-mjau
Watts wrote:Hello, because i don't want to click "some buttons" to do that, i prefer automaticly...
An idea also ?
Regards
Thumbnails are created automatically if you are using the imagevue admin uploader. If you are using FTP, then the admin will not create thumbnails automatically for you of course until you do it from the admin ...

In Imagevue V1, we used to have frontend-creation of thumbnails, but there were some problems:

- It slows down the gallery a lot.
- It creates a strain on server.
- If gallery owner did not set permissions, it would set a tremendous strain on server as thumbnails would need to be created for each visitor.
- Too many problems with thumbnails on frontend, and is better they are handled through the backend from the gallery owner before visitors encounter them.

As for an independent "cron" job/task for linux servers, I doubt this is something we will be looking into immediately from our side of things, but it has been noted ... Maybe someone wants to create something like that.

Posted: 27 Jul 2010, 09:32
by Watts
mjau-mjau wrote:
Watts wrote:Hello, because i don't want to click "some buttons" to do that, i prefer automaticly...
An idea also ?
Regards
Thumbnails are created automatically if you are using the imagevue admin uploader. If you are using FTP, then the admin will not create thumbnails automatically for you of course until you do it from the admin ...

In Imagevue V1, we used to have frontend-creation of thumbnails, but there were some problems:

- It slows down the gallery a lot.
- It creates a strain on server.
- If gallery owner did not set permissions, it would set a tremendous strain on server as thumbnails would need to be created for each visitor.
- Too many problems with thumbnails on frontend, and is better they are handled through the backend from the gallery owner before visitors encounter them.

As for an independent "cron" job/task for linux servers, I doubt this is something we will be looking into immediately from our side of things, but it has been noted ... Maybe someone wants to create something like that.
Thank you !

Posted: 14 Sep 2010, 11:28
by Watts
Watts wrote:
mjau-mjau wrote:
Watts wrote:Hello, because i don't want to click "some buttons" to do that, i prefer automaticly...
An idea also ?
Regards
Thumbnails are created automatically if you are using the imagevue admin uploader. If you are using FTP, then the admin will not create thumbnails automatically for you of course until you do it from the admin ...

In Imagevue V1, we used to have frontend-creation of thumbnails, but there were some problems:

- It slows down the gallery a lot.
- It creates a strain on server.
- If gallery owner did not set permissions, it would set a tremendous strain on server as thumbnails would need to be created for each visitor.
- Too many problems with thumbnails on frontend, and is better they are handled through the backend from the gallery owner before visitors encounter them.

As for an independent "cron" job/task for linux servers, I doubt this is something we will be looking into immediately from our side of things, but it has been noted ... Maybe someone wants to create something like that.
Thank you !
---
"Maybe someone wants to create something like that ":
I want !!!

Re:

Posted: 02 Oct 2010, 12:58
by mjau-mjau
Watts wrote:"Maybe someone wants to create something like that ":
I want !!!
Basically, you are asking for a PHP file that can be executed from accessing a single link I guess? The only problem being that this file of course is globally accessible, and visitors will be able to run it (if they are aware of it). Just saying, because it would be very resource-intensive.

You could of course password-protect it, but then there is not much difference from logging in to the admin itself.

You can already run the following link to create all uncreated thumbnails:
Code
{yourgallery}/imagevue/index.php?a=recreatethumbs&path=content%2F&miss=1
However, it would require being logged in to admin.

Sorry for the late reply!

Re: Cron Cron TAB

Posted: 02 Oct 2010, 14:35
by Patrick_D1985
You could probably use CURL for the logging in on the url to automate it based on the link Karl supplied.
Not tested... but shouldnt be any problem.

For the code to build it up; Just use Google :)

Good advice though to put it somewhere out of 'public html". as Karl sorta pointed out.