On macOS, I use AppleScript now to start/stop/pause tasks. To Start:
tell application "WorkingHours"
activate
end tell
tell application "System Events" to tell process "WorkingHours"
click menu item "Start Work" of menu 1 of menu bar item "Time tracking" of menu bar 1
end tell