View Single Post
  #574  
Old 08.02.2019, 01:21
almanteka almanteka is offline
Baby Loader
 
Join Date: Feb 2019
Posts: 9
Default

well, found out the errors in my scripts:

event scripter:
Code:
// TRIGGER = Package Finished
disablePermissionChecks();
var myFilePackage = package;
var myString = myFilePackage.getName();
callAsync(function(exitCode, stdOut, errOut) {}, "F:\\link to\\file.bat", myString);
batch:
Code:
@echoff
%1
curl -g -v -k -X POST -d "payload={\"text\": \"JDownloader: The file "'%1'" has been completed!\"}" "**External links are only visible to Support Staff**

message received at notification service:
Code:
JDownloader: The file 'Example FilePackage Name' has been completed!

:woot:

Last edited by almanteka; 08.02.2019 at 01:26.
Reply With Quote