Constructs a new CronParseTask.
Optionalproperties: ICronParseTaskProperties to set
Use the TaskRunner's clock or the on-chain SYSCLOCK.
The timestamp offset to calculate the next run.
The cron pattern to parse.
Converts this CronParseTask to JSON.
JSON object
StaticcreateCreates a new CronParseTask instance using the specified properties.
Optionalproperties: ICronParseTaskProperties to set
CronParseTask instance
StaticdecodeDecodes a CronParseTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
CronParseTask
StaticdecodeDecodes a CronParseTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
CronParseTask
StaticencodeEncodes the specified CronParseTask message. Does not implicitly {@apilink oracle_job.OracleJob.CronParseTask.verify|verify} messages.
CronParseTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified CronParseTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.CronParseTask.verify|verify} messages.
CronParseTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a CronParseTask message from a plain object. Also converts values to their respective internal types.
Plain object
CronParseTask
StaticgetGets the default type url for CronParseTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a CronParseTask message. Also converts values to other types if specified.
CronParseTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a CronParseTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
Return a timestamp from a crontab instruction.
Input: None
Returns: A timestamp
Example: Return the unix timestamp for the on-chain SYSCLOCK
Example: Return the unix timestamp for next friday at 5pm UTC