InstaLOD Pipeline supports industry-standard cron-expressions to easily set up complex schedules. This enables files or folder structures to be processed at specific times and dates.
To schedule a task, specify the -schedule
argument followed by <minute>
,<hour>
,<dayOfMonth>
,<month>
,<dayOfWeek>
before the desired operation:
InstaLODCmd -schedule <minute> <hour> <dayOfMonth> <month> <dayOfWeek>
Please refer to Wikipedia for more information on how to setup cron-expressions for complex schedules.
After scheduling, the console window where InstaLOD Pipeline is executed must remain open.
The example below instructs InstaLOD Pipeline to do the following:
Profiles
directory.Data
including files within subfolders, which is specified through the /**
syntax."SM_*Z*.fbx"
is used to process specific FBX files only that start with an "S" and contain a "Z" such as "SM_Zetsuda_130k.fbx" or "SK_ParasiteZombie_10k.fbx".InstaLOD Watchdog
detects any changes to the observed files, optimized meshes are output in the directory Build/WatchdogOutput
.InstaLODCmd -schedule 30 6 * * 0,1,3,5 -profile "Profiles/Optimize.json" -watchdog "Data/**" "SM_*Z*.fbx" "Build/WatchdogOutput" "{MESH.FILENAME}_LOD.fbx" *