tests/reschedule.R

require(qrmarkdown)

# test for scheduler

q.template(edit=TRUE)

# save it to tests/monday.report.Rmd

jid <- q.schedule(wday='Monday', hour=6,
                  script='tests/monday.report.Rmd',
                  name='!my first schedule report!')

# check if this work.
q.reschedule(jid=jid, now=TRUE)

# current job queue
q.show()
okux/qrmarkdown documentation built on Dec. 22, 2021, 4:17 a.m.