Check that inputs to each time-period argument of r2cron
are
valid.
.stop(x, p = c("minutes", "hours", "days_month", "months", "days_week"))
Arguments
x |
The user's input for a time period argument in the
r2cron function |
p |
Valid cron time periods used in the r2cron function. |
Value
Error if it fails.