Synology DSM 6 scheduled task no longer working

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Synology DSM 6 scheduled task no longer working

Post by Achandab »

Was working fine a few weeks ago, im guessing a few updates must have broken it. Runs fine via SSH using the same command. Output when running via scheduled task below

Task: AMC
Start time: Tue, 21 Jun 2016 23:34:42 GMT Stop time: Tue, 21 Jun 2016 23:34:44 GMT Current status: 1 Standard output/error:
Cannot cast java.net.URI to [B
java.lang.ClassCastException: Cannot cast java.net.URI to [B
at net.filebot.CachedResource.get(CachedResource.java:107)
at net.filebot.MemoizedResource.get(Resource.java:36)
at net.filebot.cli.ScriptBundle.getScript(ScriptBundle.java:34)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
at net.filebot.Main.main(Main.java:120)
Failure (°_°)
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology DSM 6 scheduled task no longer working

Post by rednoah »

You may need to run -clear-cache once.
:idea: Please read the FAQ and How to Request Help.
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Re: Synology DSM 6 scheduled task no longer working

Post by Achandab »

perfect works now. Is that something we might need to do regularly?
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology DSM 6 scheduled task no longer working

Post by rednoah »

No, and you shouldn't. But there's a bug where filebot might cache bad network responses, making a one-time network issue cause failures in future runs.
:idea: Please read the FAQ and How to Request Help.
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Re: Synology DSM 6 scheduled task no longer working

Post by Achandab »

Great! thanks RN
Post Reply