Update task.rb

According to Microsoft, frequency needs to be ONLOGON or ONIDLE without underscores.