bnosac / cronR

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

Task status #33

Closed Liripo closed 3 years ago

Liripo commented 3 years ago

This is not a bug. I would like to ask if there is any way to know the completion of R script.is it possible? Thank you!

jwijffels commented 3 years ago

you could print out progress, or send an email or inform a service at the end of you R script that you are done or you can check using top the processes which are running and see if it corresponds to the process from Sys.getpid() which you can just print in your R code or do something like ths: https://github.com/bnosac/cronR/pull/32 or look at /var/log/*