Changes between Version 4 and Version 5 of DeleteFile


Ignore:
Timestamp:
Jan 6, 2013, 5:09:05 PM (12 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeleteFile

    v4 v5  
    1 = Deleting files =
     1= Deleting sticky files from clients =
    22
    3 To delete a file from a host, use the function
     3Sticky files can be deleted in either of two ways.
     4
     5== Regular expression matching ==
     6
     7You can create a file '''file_delete_regex''' in your project directory,
     8containing a list of regular expressions, one per line.
     9If a client has a sticky file whose name matches any of these expressions,
     10it will be instructed to delete the file.
     11
     12== Explicit deletion ==
     13
     14To delete a sticky file from a particular host, use the function
    415
    516{{{
     
    1324}}}
    1425
    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.
     27This message instructs the client to delete the file.
     28The message is included in the next scheduler reply to the host.
     29The message XML has the form
    1630
    1731{{{