Inventor General Discussion

Inventor General Discussion

Reply
*Expert Elite*
scottmoyse
Posts: 1,634
Registered: ‎06-10-2009
Message 1 of 3 (575 Views)

Command Line Inventor Task Scheduler

575 Views, 2 Replies
07-16-2013 01:40 PM

A while back someone posted this with no response 

 

http://forums.autodesk.com/t5/Autodesk-Inventor/Task-Scheduler/td-p/1717093

 

I'm followign up with a more specific subject.

 

I want to automate the check in of design files to Vault on each PC, prior to running workspace sync (Vault) which does have command line support.

 

I know you can schedule tasks within the Inventor Task scheduler, but has anyone task scheduled the Inventor Task Scheduler? I suppose in theory you could schedule the launch of Inventor Task scheduler via the Windows one? or is there any need? If the Inventor Task scheduler isn't running, but a task has been scheduled, will it execute the program itself?

Cheers
Scott Moyse

Please use Mark Solutions!.Accept as Solution &Give Kudos!Kudos to further enhance the value of these forums. Cheers!


   

Product Support
VinodBalasubramanian
Posts: 619
Registered: ‎09-30-2007
Message 2 of 3 (514 Views)

Re: Command Line Inventor Task Scheduler

08-22-2013 07:32 PM in reply to: scottmoyse

This can to be done through VBA. If you use the argument /Automation, inventor will start invisible, and you can later get GetActiveObject and do your processing.


>>>Process.Start("C:\Program Files\Autodesk\Inventor 2013\Bin\Inventor.exe", "/Automation"). You may also want to post this question in Inventor customization forum for alternate solutions around starting task scheduler automatically.

 

If the Inventor Task scheduler isn't running, but a task has been scheduled, will it execute the program itself?

 

Yes it should. Because you are configuring the task to a windows user login. It has to run without task scheduler being initiated.



Vinod Balasubramanian
Product Support
jingy
Posts: 225
Registered: ‎10-14-2007
Message 3 of 3 (512 Views)

Re: Command Line Inventor Task Scheduler

08-22-2013 07:45 PM in reply to: scottmoyse

check the Inventor task schedual's properties, It is:

"C:\Program Files\Autodesk\Inventor 2014\Bin\TaskScheduler.exe"

 

So you could use command to run this program.

 

You coudl configure the frequence at special time. then all the task could be done by itself

 

checkin Vault setting.jpg



Yong Jing
Product Support Specialist
Frontline Technical Support, CSS. GCSO
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.