script run by scheduler doesn't work

I created a script to backup my config

# apr/10/2013 21:52:58 by RouterOS 5.24
# software id = 6CWM-ETJC
#
/system script
add name=daily-backup policy=write,sensitive source="/system backup save name=today.backup"

I can do a run on that script and it works fine. I scheduled a job using it:

# apr/10/2013 21:54:03 by RouterOS 5.24
# software id = 6CWM-ETJC
#
/system scheduler
add disabled=no interval=1h name=do-backup on-event=daily-backup policy=write,sensitive start-date=\
    apr/10/2013 start-time=21:40:00

but the scheduled job never does anything. It says it runs, but the file never shows up. I guessed on the policy settings. I don’t know if there is a way to get a debug log on the scheduler, I don’t see anything in my log now. What is going wrong?

on-event=“daily-backup"should be
on-event=”/system script run daily-backup"

I had set up another script to just log a test message and scheduled that one using just the name of the script and it works fine.

I realize that it has been a while since you have posted this questio.
Did you ever find a solution?

The solution is to add to the script in Policy section: test and policy.