Clean up task schedule failed
About this task
During an installation or an update, you received the clean up task message.
As the install wizard was not able to create a scheduled task, the task has to be created manually, using the windows CMD.
Applies to
All Versions and Systems
Procedure
Open up your Windows CMD and use the following command, to create the task
The Service User and the path have to be adjusted to the specific environment.
Folder Path
SCHTASKS /Create /RU bvq /RP <service-user-password> /SC DAILY /ST 05:00 /TN "BVQ MongoDB Logfile Cleanup Task" /TR "forfiles /p \"E:\BVQ\mongodb\logs\" /m mongod*.log /d -7 /c \"cmd /c del @path\"" /F /NP