Scheduler runs job twice

Hello,

For some reason, the below script is generating two emails sent several seconds apart when run by the scheduler. This only happens when when the scheduler runs the script. If I run it from the shell or Winbox, I only get one email.

This is in RouterOS 2.9.14. Any suggestions regarding why this is happening would be appreciated.

[jlupolt@Foo] system scheduler> /system script
[jlupolt@Foo] system script> print
0 name="backup_and_email" owner="jlupolt" policy=ftp,reboot,read,write,policy,test,winbox,password
last-started=may/03/2006 06:00:00 run-count=18 source=
/system backup save name=Foo
/tool e-mail send to="foo@foo.net" subject=([/system identity get name] . " " . [/system clock get date] . " Foo") file=Foo.backup
[jlupolt@Foo] system script> /system scheduler
[jlupolt@Foo] system scheduler> print
Flags: X - disabled

NAME ON-EVENT START-DATE START-TIME INTERVAL RUN-COUNT

0 backup_email backup_and_email may/02/2006 06:00:00 1d 2


Best regards,

James

i have seen this today also - i added a script to send config export and backupfile via e-mail every night
from a few of my routers thos things came twice !!
i´ll give it a look tomorrow gain - and chek it with the os versions as they are different from box to box
today they are allready deleted ;-((

This seems to be fixed now. I removed the job from the scheduler, waited a day, and added it back. Now I don’t receive the duplicate email. I don’t know why this appears to have worked.

James