Changes between Version 4 and Version 5 of DeleteFile
- Timestamp:
- Jan 6, 2013, 5:09:05 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeleteFile
v4 v5 1 = Deleting files =1 = Deleting sticky files from clients = 2 2 3 To delete a file from a host, use the function 3 Sticky files can be deleted in either of two ways. 4 5 == Regular expression matching == 6 7 You can create a file '''file_delete_regex''' in your project directory, 8 containing a list of regular expressions, one per line. 9 If a client has a sticky file whose name matches any of these expressions, 10 it will be instructed to delete the file. 11 12 == Explicit deletion == 13 14 To delete a sticky file from a particular host, use the function 4 15 5 16 {{{ … … 13 24 }}} 14 25 15 `delete_file()` creates a message for the specific host and adds it to the `msg_to_host` table. This message instructs the client to delete the file. The message is included in the next scheduler reply to the host. The message XML has the form 26 `delete_file()` creates a message for the specific host and adds it to the `msg_to_host` table. 27 This message instructs the client to delete the file. 28 The message is included in the next scheduler reply to the host. 29 The message XML has the form 16 30 17 31 {{{