file transfer
This commit is contained in:
6
dispatch_jagan.py
Normal file
6
dispatch_jagan.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from pymongo import MongoClient
|
||||
import os
|
||||
|
||||
db = MongoClient('mongodb://localhost:27017')['rmm_db']
|
||||
db.clients.update_one({'_id': 'JAGAN'}, {'$set': {'pending_command': 'update_agent'}})
|
||||
print('Dispatched update_agent to JAGAN!')
|
||||
Reference in New Issue
Block a user