[R] how to set crontab for updating the repositories?
paboyoun at fhcrc.org
Sat Aug 29 00:42:14 CEST 2009
The recommended rsync commands for mirroring the Bioconductor
repositories are given at
Paul Hiemstra wrote:
> Sukhbir Rattan wrote:
>> I have downloaded around 60GB package repositories of bioconductor to
>> use it
>> locally and to set up mirror at my university site.
>> I have installed the mirror with rsync command and able to access also.
>> Now I have to set a cron job for its daily updating from bioconductor
>> website. How should I do it?
>> I know rsync have to be used but I don't know the proper syntax.
>> I request to send proper syntax.
>> Sukhbir Singh Rattan.
>> [[alternative HTML version deleted]]
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide
>> and provide commented, minimal, self-contained, reproducible code.
> crontab -e
> Will open the crontab file for the current user, here you can add
> commands that are to executed at certain times. The crontab will look
> something like:
> # m h dom mon dow command
> 0 0 * * * /foo/bar
> where the command /foo/bar will be executed every day (dom, mon and
> dow are a *, meaning 'for all') at 12 pm.
More information about the R-help