CronService class

The service that handles the Cron APIs.

Usually shouldn't be initialized manually and instead PocketBase.backups should be used.

Constructors

CronService(PocketBase client)

Properties

client PocketBase
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getFullList({Map<String, dynamic> query = const {}, Map<String, String> headers = const {}}) Future<List<CronJob>>
Returns list with all registered app cron jobs.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(String jobId, {Map<String, dynamic> body = const {}, Map<String, dynamic> query = const {}, Map<String, String> headers = const {}}) Future<void>
Runs the specified cron job.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited