[R] how to set crontab for updating the repositories?
Patrick Aboyoun
paboyoun at fhcrc.org
Sat Aug 29 00:42:14 CEST 2009
Sukhbir,
The recommended rsync commands for mirroring the Bioconductor
repositories are given at
http://bioconductor.org/download/mirrors/mirror-howto.html
Cheers,
Patrick
Paul Hiemstra wrote:
> Sukhbir Rattan wrote:
>> Hi,
>>
>> 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.
>>
>> Thanks,
>>
>> Sukhbir Singh Rattan.
>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
> Hi,
>
> Typing:
>
> 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.
>
> cheers,
> Paul
>
>
More information about the R-help
mailing list