Add support for executing a scheduled task right now

This commit is contained in:
Dane Everitt
2020-10-14 20:38:59 -07:00
parent f33d0b1d72
commit c1ee0ac4f8
13 changed files with 158 additions and 157 deletions

View File

@@ -0,0 +1,4 @@
import http from '@/api/http';
export default async (server: string, schedule: number): Promise<void> =>
await http.post(`/api/client/servers/${server}/schedules/${schedule}/execute`);