I’m testing the newest builds of google chrome, and i wonder if anyone would know how to make a script that would start every 5 minutes and download latest build? The folder goes only up and i have no idea how to make such variable that would either check what is the latest one or download the latest one?
That is all on one line, by the way. You could then have something
actually go into the resulting directory and extract the zip file. The
part I haven’t worked out is how to actually pull the file list out of the
index.html returned by a request for the directory, but if
chrome-linux.zip doesn’t change then it’s not worth my tame to make it
multiple lines.
Create a cron job to run every five minutes. As your user, run crontab -e
and then create the following as the entry:
Again, all on one line. Make sure your user has rights to create stuff in
/path/to/output/directory ahead of time.
Good luck.
BenderBendingRodriguez wrote:
> I’m testing the newest builds of google chrome, and i wonder if anyone
> would know how to make a script that would start every 5 minutes and
> download latest build? The folder goes only up and i have no idea how to
> make such variable that would either check what is the latest one or
> download the latest one?
>
> The website is
>
> ‘Index of /buildbot/snapshots/chromium-rel-linux’
> (http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/)
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
Now that i know it downloads how can i send the output of LATEST whatever it is ? I want to make a variable and the LATEST output will be that so how could i make that?
What i mean is blablabla/22123 then i want to make a script that would save it in a neutral directory otherwise i will end up with many chrome-linux.zip files each in its own directory and i want it to be saved ALWAYS in the same folder no matter what is the LATEST.
You could put it in a cron directory, though no cron directory is called
every five minutes. Making a script and dropping it in /etc/cron.hourly
may make sense though (getting a new build every five minutes is a little
crazy, methinks).
Good luck.
BenderBendingRodriguez wrote:
> Thanks!!! I was wondering what is this LATEST link for Now i can
> keep up with the latest and greatest chromium MANY MANY THANKS!!!
>
> By the way, i could make whole script and put it in the cron directory?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
BenderBendingRodriguez wrote:
> Now that i know it downloads how can i send the output of LATEST
> whatever it is ? I want to make a variable and the LATEST output will be
> that so how could i make that?
>
> What i mean is blablabla/22123 then i want to make a script that would
> save it in a neutral directory otherwise i will end up with many
> chrome-linux.zip files each in its own directory and i want it to be
> saved ALWAYS in the same folder no matter what is the LATEST.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
Thank You for all your help. I managed to decipher that command So right now my script (with ALL your help
Downloads latest build, kills existing google-chrome process, clean the old directory, extracts the new files to specific directory and restores google-chrome