MentDB, The digital brain.  About us Home
Back / All functions / File Watcher

File watcher services.

file_watcher startfile_watcher killfile_watcher existfile_watcher show

file_watcher start <key> <user> <directory> <scriptName>

Description

    To start a file watcher

Parameters

    key:   The key - String - required
    user:   The user - String - required
    directory:   The directory to scann - String - required
    scriptName:   The script name - String - required
admin
file_watcher start "fKey" "admin" "/Users/jimmitry/Desktop/dir" "demo.file.watcher.exe"
mentdb
1

file_watcher kill <key>

Description

    To kill a file watcher

Parameters

    key:   The key - String - required
admin
file_watcher kill "fKey"
mentdb
1

file_watcher exist <key>

Description

    To check if a kill a file watcher already exist

Parameters

    key:   The key - String - required
admin
file_watcher exist "fKey1"
mentdb
1

file_watcher show

Description

    To show all file watchers

admin
file_watcher show
mentdb
[]




© 2012 - 2019 - Innov-AI.