- Add `--run-as` option to specify user for system-wide timers - Add `--home` option to set the HOME environment variable - Add `--cwd` option to define the working directory - Update tests to validate new options and behavior
16 lines
311 B
TypeScript
16 lines
311 B
TypeScript
export interface TimerOptions {
|
|
name?: string;
|
|
exec: string;
|
|
calendar: string;
|
|
description?: string;
|
|
user?: boolean;
|
|
runAs?: string;
|
|
home?: string;
|
|
cwd?: string;
|
|
output?: string;
|
|
after?: string[];
|
|
environment?: string[];
|
|
logfile?: string;
|
|
dryRun?: boolean;
|
|
}
|