Gets the currently executing cron jobs for an instance. Returns (Task<IEnumerable>)
Overview of GetCurrentCronJobsAsync goes here.
| Name | Description |
|---|---|
| instance | The instance to get current cron jobs from |
| isPrivate | Whether to include private cron jobs (default false) |
Example in C#
// Returns: IEnumerable<CronJobInfo>
var cronJobInfo = await client.GetCurrentCronJobsAsync(InstanceInfo instance, Boolean isPrivate);
Example in CURL
curl -X GET \
'https://api.us.acresecurity.cloud/api/i/INSTANCE.KEY/cronjobs/current?isPrivate=false' \
-H 'Authorization: Bearer TOKEN_GOES_HERE'