Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cboettig/cron-container

Run an R script as a cron job using Docker
https://github.com/cboettig/cron-container

Last synced: 7 days ago
JSON representation

Run an R script as a cron job using Docker

Awesome Lists containing this project

README

        

Build the container and run in the background:

```
docker build -t cron-test .
docker run -v $(pwd)/data:/data -d cron-test
```

Current configuration in `hello-cron` runs `script.R` every minute, which just prints the timestamp to `/data/out.csv`.
Adjust `script.R` accordingly for your R job. adjust `hello-cron` for timing (see ).