forked from teddywing/harvester-submit-week-for-approval
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.teddywing.harvester-submit-week-for-approval.plist
44 lines (44 loc) · 1.24 KB
/
com.teddywing.harvester-submit-week-for-approval.plist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.teddywing.harvester-submit-week-for-approval</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/python3</string>
<string>/absolute/path/to/harvester_submit_week_for_approval.py</string>
<string>--email</string>
<string>name@example.com</string>
<string>--password-command</string>
<string>security find-internet-password -a 'name@example.com' -s 'acme.harvestapp.com' -w</string>
<string>--subdomain</string>
<string>acme</string>
<string>--account-id</string>
<string>000000</string>
<string>--api-token</string>
<string>TOKEN</string>
</array>
<key>StandardErrorPath</key>
<string>/tmp/harvester_submit_week_for_approval.log</string>
<key>StartCalendarInterval</key>
<array>
<dict>
<key>Weekday</key>
<integer>1</integer>
<key>Hour</key>
<integer>17</integer>
<key>Minute</key>
<integer>58</integer>
</dict>
<dict>
<key>Weekday</key>
<integer>5</integer>
<key>Hour</key>
<integer>17</integer>
<key>Minute</key>
<integer>58</integer>
</dict>
</array>
</dict>
</plist>