Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
12 replies
Subscribers
5 subscribers
Views
4552 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hi all, I am trying to run a script (for ex: <Appian_Home>\\cleanup.b
sikhivahans
over 10 years ago
Hi all,
I am trying to run a script (for ex: <Appian_Home>\\cleanup.bat <parameters>) from "Command Line Execution" smart service. The error I am seeing in the "standard error"(output of smart service) is as follows:
'exports.bat' is not recognized as an internal or external command,operable program or batch file.'exports-ant.bat' is not recognized as an internal or external command,operable program or batch file.The system cannot find the path specified.'ant' is not recognized as an internal or external command,operable program or batch file. Am I missing anything here?
Could anyone clarify me regarding the configuration smart service?...
OriginalPostID-83280
OriginalPostID-83280
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 10 years ago
@patty.phonemany, Thanks a lot for the quick response and suggestions. Are you sure regarding this? Because I want to run the maintenance of the server like an application by providing a good UI. And Currently We are working on Appian 7.x. Does this matter? Prior to this post, I have already worked in the way you suggested. What I did was, I provided the cleanup.bat file as an input to task scheduler and configured the parameters in such a way that the backup will be stored in a folder. When the scheduler was run, in the history of the task scheduler I saw the output of the task as success but I didn't saw any output i.e. I didn't see any backup files in the target folder. The same script, when I ran it from command prompt, I was able to see the backup files in the target folder. Am I doing any mistake?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 10 years ago
@patty.phonemany, Thanks a lot for the quick response and suggestions. Are you sure regarding this? Because I want to run the maintenance of the server like an application by providing a good UI. And Currently We are working on Appian 7.x. Does this matter? Prior to this post, I have already worked in the way you suggested. What I did was, I provided the cleanup.bat file as an input to task scheduler and configured the parameters in such a way that the backup will be stored in a folder. When the scheduler was run, in the history of the task scheduler I saw the output of the task as success but I didn't saw any output i.e. I didn't see any backup files in the target folder. The same script, when I ran it from command prompt, I was able to see the backup files in the target folder. Am I doing any mistake?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data