Happy2Play 8296 Posted August 28, 2020 Share Posted August 28, 2020 @AdrianW can you go to GET/ScheduledTasks/{Id} and enter 241d4fcb19a1d557ee62428e411da609 and show the results. Link to comment Share on other sites More sharing options...
AdrianW 1053 Posted August 28, 2020 Share Posted August 28, 2020 200 Response body Download { "Name": "Cache file cleanup", "State": "Idle", "Id": "241d4fcb19a1d557ee62428e411da609", "LastExecutionResult": { "StartTimeUtc": "2020-08-27T19:59:04.8139126Z", "EndTimeUtc": "2020-08-27T19:59:25.8809003Z", "Status": "Failed", "Name": "Cache file cleanup", "Key": "DeleteCacheFiles", "Id": "241d4fcb19a1d557ee62428e411da609", "ErrorMessage": "The network path was not found. : '\\\\KANAME\\Video\\Other\\ImagesByNameMB3\\metadata\\temp'", "LongErrorMessage": " at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)\r\n at System.IO.Enumeration.FileSystemEnumerator`1.Init()\r\n at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)\r\n at System.IO.Enumeration.FileSystemEnumerableFactory.FileInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)\r\n at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)\r\n at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, String[] extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive)\r\n at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, Boolean recursive)\r\n at Emby.Server.Implementations.ScheduledTasks.Tasks.DeleteCacheFileTask.DeleteCacheFilesFromDirectory(CancellationToken cancellationToken, String directory, DateTimeOffset minDateModified, IProgress`1 progress)\r\n at Emby.Server.Implementations.ScheduledTasks.Tasks.DeleteCacheFileTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)\r\n at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)" }, "Triggers": [ { "Type": "DailyTrigger", "TimeOfDayTicks": 34200000000 } ], "Description": "Deletes cache files no longer needed by the system", "Category": "Maintenance", "IsHidden": true, "Key": "DeleteCacheFiles" } Link to comment Share on other sites More sharing options...
AdrianW 1053 Posted August 28, 2020 Share Posted August 28, 2020 I'm trying 10:30am (with the correct number of zeros this time!). Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted August 28, 2020 Share Posted August 28, 2020 36 minutes ago, Happy2Play said: Info TaskManager: Daily trigger for Remove Old Cached Data What does your current log show for this? As this part is a little confusing to me unless there are translation differences. Link to comment Share on other sites More sharing options...
AdrianW 1053 Posted August 28, 2020 Share Posted August 28, 2020 3 minutes ago, Happy2Play said: What does your current log show for this? Line 645: 2020-08-28 03:43:42.191 Info TaskManager: Daily trigger for Remove Old Cached Data set to fire at 08/28/2020 23:00:00, which is 1156.296808385 minutes from now. Line 807: 2020-08-28 08:23:35.865 Info TaskManager: Daily trigger for Remove Old Cached Data set to fire at 08/28/2020 23:00:00, which is 876.4022494516666 minutes from now. Line 1078: 2020-08-28 09:22:23.835 Info TaskManager: Daily trigger for Remove Old Cached Data set to fire at 08/28/2020 23:00:00, which is 817.602739365 minutes from now. Line 1358: 2020-08-28 10:21:50.819 Info TaskManager: Daily trigger for Remove Old Cached Data set to fire at 08/28/2020 23:00:00, which is 758.1530010416667 minutes from now. The 10:30 trigger ran (but failed as my NAS is off). So, I assume if I change it to 4pm - it will run and work. Link to comment Share on other sites More sharing options...
AdrianW 1053 Posted August 28, 2020 Share Posted August 28, 2020 "Remove Old Cached Data" is configured to run at 23:00 - but that one is available in the scheduled tasks UI (it appears to be specific to InfuseSync): Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted August 28, 2020 Share Posted August 28, 2020 (edited) You are positive this path exists? "ErrorMessage": "The network path was not found. : '\\\\KANAME\\Video\\Other\\ImagesByNameMB3\\metadata\\temp'", 4 minutes ago, AdrianW said: "Remove Old Cached Data" is configured to run at 23:00 - but that one is available in the scheduled tasks UI (it appears to be specific to InfuseSync): Sorry this would mean we are looking at two different things. That is why I do not see Remove Old Cached Data as that is a different task specific to that plugin and it appears to be working fine. But the Cache File Cleanup error above would be for the task I am talking about and ran at the time you set it to 10:30. Edited August 28, 2020 by Happy2Play Link to comment Share on other sites More sharing options...
AdrianW 1053 Posted August 28, 2020 Share Posted August 28, 2020 (edited) 23 minutes ago, Happy2Play said: But the Cache File Cleanup error above would be for the task I am talking about and ran at the time you set it to 10:30. I've set it to 4pm now - and I assume it will work (as the NAS will have turned itself on by then). So, it's all good - you helped me change the scheduled time for that task - thanks Edited August 28, 2020 by AdrianW Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted August 28, 2020 Share Posted August 28, 2020 2 minutes ago, AdrianW said: I've set it to 4pm now - and I assume it will work (as the NAS will have turned itself on by then). So, it's all good - you helped me change the schedule time for that task - thanks Let us know either way. Link to comment Share on other sites More sharing options...
AdrianW 1053 Posted August 30, 2020 Share Posted August 30, 2020 It's now a couple of days later - and there's been no more "Cache file cleanup failed" errors Thanks again @Happy2Play Link to comment Share on other sites More sharing options...
Luke 37094 Posted August 30, 2020 Share Posted August 30, 2020 Well you had configured a custom cache folder that is no longer valid, that's why it was failing. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now