filterSchedule: filterSchedule

Description Usage Arguments Examples

Description

Pass a boolean about whether or not a schedule_item is to be posted.

Usage

1
filterSchedule(schedule_item, now, minute_range = 3)

Arguments

schedule_item

A single row of a schedule.

now

A properlay formatted now object, as produced by nowFormatted. Represents the computers current timezone, not the scheudled items tz.

minute_range

The range in minutes to allow for a different, and still post. Defaults to 3.

Examples

1
2
3
4
current_time <- as.POSIXlt("2018-06-13 11:00:55", tz = "GMT")
now <- crontwit:::nowFormatted(current_time)
data(schedule)
filterSchedule(schedule_item = schedule[7,], now = now)

bestdan/crontwit documentation built on May 30, 2019, 12:45 p.m.