cronR - 리눅스 서버에서 R 작업 스케줄링

> library(cronR)
> f   <- system.file(package = "cronR", "extdata", "helloworld.R")
> cmd <- cron_rscript(f)
> cron_add(command = cmd, frequency = 'minutely', 
  id = 'test1', description = 'My process 1', tags = c('lab', 'xyz'))
> cron_add(command = cmd, frequency = 'daily', at='7AM', id = 'test2')
> cron_njobs()

> cron_ls()
> cron_clear(ask=TRUE)
> cron_ls()

출처: https://rdrr.io/cran/cronR/man/cron_add.html

댓글

이 블로그의 인기 게시물

R에서 csv 파일 읽는 법

xlwings tutorial - 데이터 계산하여 붙여 넣기