About all I can offer is to review the Help on things, as one thing I noticed is it appears you should be using hours instead of hour, but the message seems to be indicating a syntax related issue here, but I am not sure what it may be with just the error, would need script snippet to be able to tell for sure I believe.
To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question. I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.