bnosac / cronR

A simple R package for managing your cron jobs.
Other
288 stars 38 forks source link

Shiny app creating a cron job #22

Closed tatapoum closed 4 years ago

tatapoum commented 4 years ago

I am trying to develop a shiny app that can create a cron job after doing some action.

I was wondering if the shiny user is able to do this operation (it works well with root).

I logged into my server with shiny user, opened an R session and typed the usual commands. A cron job seems to be running, as I see it with cron_ls() but the data set that should be written every minut is not updated.

jwijffels commented 4 years ago

sure, that's possible

tatapoum commented 4 years ago

I retried it was simply a path and permissions issue... (working directory during a shiny session is in /srv/)

Thanks, I close this !