| 1 | = Deleting files = |
| 2 | |
| 3 | To delete a file from a host, use the function |
| 4 | {{{ |
| 5 | delete_file(int host_id, const char* file_name) |
| 6 | }}} |
| 7 | or the command line program (run from the project root dir) |
| 8 | {{{ |
| 9 | delete_file -host_id X -file_name Y |
| 10 | }}} |
| 11 | 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 |
| 12 | |
| 13 | |
| 14 | {{{ |
| 15 | <delete_file_info>file_name</delete_file_info> |
| 16 | }}} |