0
Answered
Command Line Update/Scan Command?
Is there a a command you can run from the Command Line to force an update/scan? If so what is it please? Thanks!
Customer support service by UserEcho
The scan is triggered by the call of an URL (when using the web admin), so technically you might think about using a command line tool like curl to call it. The problem is that launching a scan is an administrator action, so you have to be identified, which means providing a cookie with the token generated by the server when you logged in. Quite complex and not realistically usable as the token has to be preiodically regenerated.
Is there a specific reason you need command line triggered scan ? Usually setting the autoscan period to the minimum (15 min) does the job, as the scanning process is really inexpensive (as long as no new file has been added).
i have the terminal (command prompt) opened running Ubooquity. its much easier and convenient to issue a command prompt scan command (maybe like 'r' as refresh) than open a webpage, browse to admin new scan page. concur and suggest to have a command prompt scan command :)
Yes, scanning the command prompt to trigger a scan would be easier. Not very convenient, but why not.
I'll add it to the backlog.