ONYX - 9.0 - KB
Clearing temporary files
De MappingDoc
Révision datée du 27 août 2019 à 13:43 par Alestoquoi (discussion | contributions) (Page créée avec « The <FONT color="blue"> map_cron</FONT> command deletes all cookie files as it only keeps a one-day history. »)
A certain number of files are normally created in the ONYX Server temporary folder ( PATH_TEMP variable in the configuration): connection files to the Web interface (cookies), files derived from Workflow processings, etc.
The map_cron command deletes all cookie files as it only keeps a one-day history.
Linux: /apps/mapping/bin/ map_cron -cleanid
Windows: E:\MappingWindows\Applications\ map_cron.exe -cleanid
La commande map_del permet de nettoyer le contenu d’un répertoire en filtrant sur un nom ou sur une extension. Les exemples de commandes suivants sont fréquemment utilisés dans un script d’épuration ‘standard’ pour ONYX Server :
- Linux:
/apps/mapping/bin/map_del -path:/apps/mapping/temp -filter_ext:tmp
/apps/mapping/bin/map_del -path:/apps/mapping/temp -filter_ext:ttf
/apps/mapping/bin/map_del -path:/apps/mapping/temp -filter_ext:xps
/apps/mapping/bin/map_del -path:/apps/mapping/temp -filter_name:compress_*
/apps/mapping/bin/map_del -path:/apps/mapping/temp -filter_name:*.0
/apps/mapping/bin/map_del -path:/apps/mapping/temp -filter_name:*.1
- Windows:
E:\MappingWindows\Applications\map_del.exe -path:E:\MappingWindows\Applications\Temp -filter_ext:tmp
E:\MappingWindows\Applications\map_del.exe -path:E:\MappingWindows\Applications\Temp -filter_ext:ttf
E:\MappingWindows\Applications\map_del.exe -path:E:\MappingWindows\Applications\Temp -filter_ext:xps
E:\MappingWindows\Applications\map_del.exe -path:E:\MappingWindows\Applications\Temp -filter_name:compress_*
E:\MappingWindows\Applications\map_del.exe -path:E:\MappingWindows\Applications\Temp -filter_name:*.0
E:\MappingWindows\Applications\map_del.exe -path:E:\MappingWindows\Applications\Temp -filter_name:*.1