Well I had the right line.
I knew that the single '=' was the problem but wasn't sure how to implement the test.
Like I said, "it was just for fun" and I came close.
I've been fighting with a property list (plist) to make a Mac update during bonus hours.
There's been several ppl who have asked how.
I can't seem to find the 'bug' and it may be OS version specific. So far idk.
It's something like this:
<?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>YourMac.name.here.SftwrUpdt</string>
<key>ProgramArguments</key>
<array>
<string>softwareupdate</string>
<string>--Download</string>
<string>--All</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>02</integer>
<key>Minute</key>
<integer>00</integer>
</dict>
<key>StandardErrorPath</key>
<string>/Users/donsjgm/Library/Application\ Support</string>
<key>ProductPaths</key>
<string>/Users/donsjgm/Library/Application\ Support</string>
</dict>
</plist>