Running in Windows 7 Pro Scheduled Task

33 views
Skip to first unread message

Keith Oakley

unread,
Nov 5, 2013, 9:29:35 AM11/5/13
to mailsend...@googlegroups.com
We run a backup routine at our customer sites each night.  I am having troubles getting mailsend to work properly when running as a Scheduled Task.  My format for sending the email is correct as I can run the batch file manually and it works.

However, when it runs from a scheduled task, it just flies on by and never sends the email.  I have even compiled the batch file into an EXE file and it does the same thing.

I have also tried giving the batch and mailsend Administrative Properties.  Tried running it in XP 3 compatibility mode.  Nothing I try seems to get it working.

Can anyone offer a suggestion?

Thank you.

Muhammad Muquit

unread,
Nov 5, 2013, 9:57:08 AM11/5/13
to mailsend...@googlegroups.com
Which version are you using? 
Thanks

Keith Oakley

unread,
Nov 5, 2013, 10:05:17 AM11/5/13
to mailsend...@googlegroups.com
I am using version 1.17b1.  I should have added it worked 1 time after I gave it administrative properties but will not run again.



On Tuesday, November 5, 2013 9:29:35 AM UTC-5, Keith Oakley wrote:

Keith Oakley

unread,
Nov 5, 2013, 12:30:19 PM11/5/13
to mailsend...@googlegroups.com

Any suggestions?
O

Thank you.

Keith Oakley

unread,
Nov 5, 2013, 12:51:49 PM11/5/13
to mailsend...@googlegroups.com
I just added a program to make it wait 5 seconds before and after the command is run in the batch file.  For some reason, it is not recognizing it as a command when it runs.  However, if you go to a command prompt and run it, it works perfectly.


Keith Oakley

unread,
Nov 5, 2013, 1:19:23 PM11/5/13
to mailsend...@googlegroups.com
Just in case anyone else has this problem, I fixed it.  For some reason, even though mailsend.exe was in the same folder as the batch file.  I had to add c:\batch\mailsend to the line, instead of just running mailsend and it's parameters.  I guess the scheduler was looking for it in the path.  I could have probably moved it to the system32 folder to make it work, but this is working and I am going to leave it as is.

Reply all
Reply to author
Forward
0 new messages