Hi, this is my first post so apologies if it is in the wrong place. This seemed most appropriate. But please move if necessary.
I'm running DSM 5.2 5967 & its actually an XPENonolgy system (DSM loaded onto custom hardware) but as this is not an official Synology forum, I hope this fact doesn't matter.
I have Emby server installed & I'm trying to automate the downloading of movie trailers into my libraries. A user on the Emby forum has posted a great bash script to achieve this. Here's the script github
When I try to execute it it comes up with various syntax errors. I have installed the Windows Subsystem for Linux onto my desktop PC and successfully run the script from there. So the script is working under the right environment. I guess that it won't run from DSM as the shell is ash rather than bash.
Is there a way to overcome this and get DSM to run bash scripts?
Ultimately I would like to have this script run automatically using the task scheduler.
I'm running DSM 5.2 5967 & its actually an XPENonolgy system (DSM loaded onto custom hardware) but as this is not an official Synology forum, I hope this fact doesn't matter.
I have Emby server installed & I'm trying to automate the downloading of movie trailers into my libraries. A user on the Emby forum has posted a great bash script to achieve this. Here's the script github
When I try to execute it it comes up with various syntax errors. I have installed the Windows Subsystem for Linux onto my desktop PC and successfully run the script from there. So the script is working under the right environment. I guess that it won't run from DSM as the shell is ash rather than bash.
Is there a way to overcome this and get DSM to run bash scripts?
Ultimately I would like to have this script run automatically using the task scheduler.