| Server IP : 195.114.193.97 / Your IP : 216.73.216.186 Web Server : LiteSpeed System : Linux host 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64 User : sembi4241 ( 1126) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/local/CyberCP/IncBackups/ |
Upload File : |
import argparse
import sys
sys.path.append('/usr/local/CyberCP')
from plogical.processUtilities import ProcessUtilities
def main():
parser = argparse.ArgumentParser(description='CyberPanel Installer')
parser.add_argument('function', help='Specific a function to call!')
args = parser.parse_args()
command = f"/usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py '{args.function}'" % ()
ProcessUtilities.normalExecutioner(command)
if __name__ == "__main__":
main()