Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31386 - esearch cron script
Summary: esearch cron script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Marius Mauch (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-17 18:49 UTC by Donnie Berkholz (RETIRED)
Modified: 2003-10-18 18:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cron script (eupdatedb.cron,340 bytes, text/plain)
2003-10-17 18:50 UTC, Donnie Berkholz (RETIRED)
Details
Patch to esearch-0.4.2.ebuild (esearch-0.4.2.ebuild.patch,325 bytes, patch)
2003-10-17 18:52 UTC, Donnie Berkholz (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Donnie Berkholz (RETIRED) gentoo-dev 2003-10-17 18:49:52 UTC
I wrote this cron script for eupdatedb. Might add it to the package and install to /usr/share/doc/${PF}/eupdatedb.cron.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2003-10-17 18:50:41 UTC
Created attachment 19380 [details]
cron script
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2003-10-17 18:52:45 UTC
Created attachment 19381 [details, diff]
Patch to esearch-0.4.2.ebuild
Comment 3 David Peter 2003-10-18 05:05:54 UTC
Hi,

I think it makes no sense to run eupdatedb hourly/daily/weekly/..
Instead you should run it after you've updated your portage tree
with "emerge sync".

Maybe you find the following script, I wrote useful:
http://forums.gentoo.org/viewtopic.php?t=94102

It calls emerge sync and eupdatedb automatically.

David
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2003-10-18 06:26:04 UTC
Thanks Donnie, added it in 0.4.2-r1. Btw, that script looks very generic,
could be installed by baselayout as a template.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2003-10-18 18:22:19 UTC
David,
Why not install esync in the same place, or install it by default in /usr/sbin
or something along with esearch?