| components.conf |
|
599 |
- |
| moz.build |
|
1010 |
- |
| nsIWinTaskSchedulerService.idl |
An interface for Windows Task Scheduler 2.0.
Documentation for the underlying APIs can be found at
https://docs.microsoft.com/en-us/windows/win32/taskschd/task-scheduler-start-page
|
4721 |
- |
| nsWinTaskScheduler.cpp |
userId |
9541 |
- |
| nsWinTaskScheduler.h |
WINTASKSCHEDULER_H_ |
582 |
- |
| TaskScheduler.sys.mjs |
Interface to a system task scheduler, capable of running a command line at an interval
independent of the application.
The expected consumer of this component wants to run a periodic short-lived maintenance task.
These periodic maintenance tasks will be per-OS-level user and run with the OS-level user's
permissions. (These still need to work across systems with multiple users and the various
ownership and permission combinations that we see.) This component does not help schedule
maintenance daemons, meaning long-lived processes.
Currently only implemented for Windows and macOS, on other platforms these calls do nothing.
The implementation will only interact with tasks from the same install of this application.
- On Windows the native tasks are named like "\<vendor>\<id> <install path hash>",
e.g. "\Mozilla\Task Identifier 308046B0AF4A39CB"
- On macOS the native tasks are labeled like "<macOS bundle ID>.<install path hash>.<id>",
e.g. "org.mozilla.nightly.308046B0AF4A39CB.Task Identifier".
|
8291 |
- |
| TaskSchedulerMacOSImpl.sys.mjs |
Task generation and management for macOS, using `launchd` via `launchctl`.
Implements the API exposed in TaskScheduler.sys.mjs
Not intended for external use, this is in a separate module to ship the code only
on macOS, and to expose for testing.
|
10294 |
- |
| TaskSchedulerWinImpl.sys.mjs |
Task generation and management for Windows, using Task Scheduler 2.0 (taskschd).
Implements the API exposed in TaskScheduler.sys.mjs
Not intended for external use, this is in a separate module to ship the code only
on Windows, and to expose for testing.
|
9407 |
- |
| tests |
|
|
- |