Closed vihatsoft closed 8 months ago
my doneCMD not executing while download completed.
My DoneCMD Bash script: /home/doneCMD.sh file with bellow code (mode 0755) #!/bin/bash /usr/bin/curl https://xyz.com/test.php >> output.txt
#!/bin/bash /usr/bin/curl https://xyz.com/test.php >> output.txt
engine/config.go File with bellow viper.SetDefault("DoneCmd", "/home/doneCMD.sh")
viper.SetDefault("DoneCmd", "/home/doneCMD.sh")
Thank you,
my doneCMD not executing while download completed.
My DoneCMD Bash script: /home/doneCMD.sh file with bellow code (mode 0755)
#!/bin/bash /usr/bin/curl https://xyz.com/test.php >> output.txt
engine/config.go File with bellow
viper.SetDefault("DoneCmd", "/home/doneCMD.sh")
Thank you,