lauchd log added
This commit is contained in:
parent
b393dd46b7
commit
f15206aaf8
1 changed files with 1 additions and 8 deletions
|
|
@ -262,7 +262,7 @@ class SchedulerManager {
|
|||
}
|
||||
param.add('scheduler');
|
||||
param.add('-s');
|
||||
await OSStartup.registStartup(exe, _startupID, arguments: param);
|
||||
await OSStartup.registStartup(exe, _startupID, arguments: param, logErrorFilePath: '$_schedulerPath/launch_err.log', logStandardFilePath: '$_schedulerPath/launch_std.log');
|
||||
}
|
||||
return simpleFuture;
|
||||
}
|
||||
|
|
@ -276,13 +276,6 @@ class SchedulerManager {
|
|||
|
||||
//======================== other process ========================//
|
||||
Future start() async {
|
||||
var zprofile = File('$userPath/.zprofile');
|
||||
if(zprofile.existsSync()) {
|
||||
_log(zprofile.readAsStringSync());
|
||||
var shell = StringBuffer('source ${zprofile.path}');
|
||||
await ProcessExecutor.start(shell);
|
||||
}
|
||||
|
||||
_log('Scheduler is running on pid [$pid].');
|
||||
while(true) {
|
||||
//매초 마다 등록된 파일이 있나 체크
|
||||
|
|
|
|||
Loading…
Reference in a new issue