Mac OS Xシステムの起動時にスクリプトを実行させる方法
XML/HTML Code
クリップボードに内容をコピー
xml
version
=
"1.0"
encoding
=
"UTF-8"
?>
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"
>
plist
version
=
"1.0"
>
dict
>
key
>
Label
key
>
string
>
com.manageengine.ae_scan_mac
string
>
key
>
Program
key
>
string
>
ae_scan_mac.sh
string
>
key
>
RunAtLoad
key
>
true
/>
key
>
WorkingDirectory
key
>
string
>
/Library/LaunchDaemons/
string
>
key
>
KeepAlive
key
>
false
/>
key
>
StartCalendarInterval
key
>
dict
>
key
>
Hour
key
>
integer
>
11
integer
>
key
>
Minute
key
>
integer
>
integer
>
dict
>
dict
>
plist
>
2つのファイルの配置にはいくつかの点に注意する必要があります。
原文はブロガーの著書で、「ネット運営と管理」誌2014.02.3.4号に掲載された。