ONYX - 9.0 - KB - Nettoyage des fichiers temporaires/en
Différence entre versions
De MappingDoc
(Page créée avec « The <FONT color="blue"> map_cron</FONT> command deletes all cookie files as it only keeps a one-day history. ») |
(Page créée avec « The <FONT color="blue"> map_del </FONT> command clears the content of a folder as it filters it by name or extension. The following examples of commands are often used in... ») |
||
Ligne 8 : | Ligne 8 : | ||
Windows: <code>E:\MappingWindows\Applications\<FONT color="blue"> map_cron.exe -cleanid </FONT></code> | Windows: <code>E:\MappingWindows\Applications\<FONT color="blue"> map_cron.exe -cleanid </FONT></code> | ||
− | + | The <FONT color="blue"> map_del </FONT> command clears the content of a folder as it filters it by name or extension. The following examples of commands are often used in ‘standard’ ONYX Server clearing scripts: | |
*Linux: | *Linux: |
Version actuelle datée du 27 août 2019 à 13:44
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
The map_del command clears the content of a folder as it filters it by name or extension. The following examples of commands are often used in ‘standard’ ONYX Server clearing scripts:
- 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