Author Topic: Scheduling a wexe in windows 7  (Read 4177 times)

alosborn

  • Newbie
  • *
  • Posts: 2
    • View Profile
Scheduling a wexe in windows 7
« on: February 03, 2011, 11:41:44 AM »
Hello,
I'm having trouble with scheduling a task in windows 7.
I've created an wexe file, which i've tested and it runs correctly.
When i've scheduled tasks on windowsXP i've had no problems, but I keep getting error messages on Windows 7.
The wexe is located in my folder "E:\Documents\Automater Workflows".
The action is "E:\Documents\Automater Workflows\Access Accounts Backup Copy.wexe", with no extra arguments or Start in options, and permissions are set to an administrator account.
I get the following error messages

Event ID 203 - Action failed to start - Launch Failure
Task Scheduler failed to launch action "E:\Documents\Automater Workflows\Access Accounts Backup Copy.wexe" in instance "{8904cd7e-4f70-4e09-8d12-c99798510b7d}" of task "\Server Backup Copies". Additional Data: Error Value: 2147942593.
and
Event ID 103 - Action start failed - Run failure
Task Scheduler failed to start instance "{8904cd7e-4f70-4e09-8d12-c99798510b7d}" of "\Server Backup Copies"  task for user "SNOWSBF\Alano" . Additional Data: Error Value: 2147942593.

Regards
Alan

« Last Edit: February 04, 2011, 09:43:05 AM by alosborn »

Le Taulier

  • Administrator
  • Full Member
  • *****
  • Posts: 235
    • View Profile
    • app.jbbres.com
Re: Scheduling a wexe in windows 7
« Reply #1 on: February 04, 2011, 01:27:08 AM »
Hi Alan,

I'm unfortunately not an expert in scheduling in Windows, so I'll try to give you some ideas to solve your issue, but if none of them work you will probably be able to find more knowledgeable people on a Windows 7 forum (such as http://windows7forums.com/ or http://www.sevenforums.com/ .

  • wexe files require Action(s) to be installed on the computer they are running, so check that Action(s) is correctly installed on your Windows 7 computer. If you can run the wexe file by double-clicking on it from Windows 7, it means that Action(s) is correctly installed
  • Try to change your scheduled action to
Code: [Select]
cmd /c "E:\Documents\Automater Workflows\Access Accounts Backup Copy.wexe"
    Adding "cmd /c" before the name of the file means that you want to launch the file using the command line. Some Action(s)' users faced a similar issue when they wanted to open a file using the command line functionality in Action(s), and this was the solution, so maybe it is the same with Windows 7.[/li]

I hope this will help you,

Regards,

// Le Taulier

alosborn

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Scheduling a wexe in windows 7
« Reply #2 on: February 04, 2011, 09:40:00 AM »
Hi Le Taulier

I added the extra code in of "cmd /c" and it all works now.  

Thanks for coming back to me.

Regards

Alan
« Last Edit: February 04, 2011, 09:44:42 AM by alosborn »

lumberbrad

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Scheduling a wexe in windows 7
« Reply #3 on: March 03, 2011, 09:34:21 PM »
I would like to know how to schedule a wexe in WindowsXP?  That would be great having a few tasks run everyday without me having to click anything. Any advise on this would be great!  :)

Thanks,
Brad

Le Taulier

  • Administrator
  • Full Member
  • *****
  • Posts: 235
    • View Profile
    • app.jbbres.com
Re: Scheduling a wexe in windows 7
« Reply #4 on: March 03, 2011, 11:16:27 PM »
Hi Brad,

Action(s) does not have a built-in task scheduler yet. I say "yet" because it is something we want to add in a futur version, maybe Action(s) 2. It's a little bit early to say.

However Windows XP includes a great and easy to use scheduler. You can easily use it to launch a wexe file.
Microsoft provides a good - step by step - user guide for it: http://support.microsoft.com/kb/308569.

Let us know how it goes!

// Le Taulier

lumberbrad

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Scheduling a wexe in windows 7
« Reply #5 on: March 08, 2011, 07:41:13 PM »
Action(s) does not have a built-in task scheduler yet. I say "yet" because it is something we want to add in a futur version, maybe Action(s) 2. It's a little bit early to say.

However Windows XP includes a great and easy to use scheduler. You can easily use it to launch a wexe file.
Microsoft provides a good - step by step - user guide for it: http://support.microsoft.com/kb/308569.

Let us know how it goes!

// Le Taulier

It worked like a charm. Thank-you. Now there are a few more things I don't have to think about every day. Now I can go to work making automations to simplify life even more.

Thanks again,

Brad

mountain

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Scheduling a wexe in windows 7
« Reply #6 on: April 07, 2011, 01:58:39 PM »
my win7-scheduler can't start the wexe-file, but i get no error.
where ist the problem?

Le Taulier

  • Administrator
  • Full Member
  • *****
  • Posts: 235
    • View Profile
    • app.jbbres.com
Re: Scheduling a wexe in windows 7
« Reply #7 on: April 08, 2011, 12:14:13 AM »
As said before, this is the answer from a non-specialist of Windows. Microsoft forums would probably be a better place to get good answers.

Based on your screenshot, you are running the command line application "c:\windows\system32\cmd.exe" with arguments "cmd /c your-file.exe"
The "cmd" in your argument refers to the command line application. So your are refering to it 2 times - the application and as an argument. Probably one time too much.

Try to change the argument into arguments "/c your-file.exe" (removing the "cmd" at the beginning). I think it should work.

// Le Tauliet