Code Monkey home page Code Monkey logo

servicenow-pdi-wakeup's Introduction

ServiceNow PDI Wakeup 24/7 VERSION

PyPI - Python Version MIT

You're tired of having to wake up PDI every week. If yes, this is for you. Kick ServiceNow's ass to wake up PDI 24/7.

DEMO

Requirements

  • python (3.10+)
  • chrome browser (latest version)
  • window 10
  • Servicenow (from Vancouver)

Install Requirements

pip install -r requirements.txt

How it works

  1. Make sure you have already installed Requirements.
  2. Clone this repo.
  3. Install the remaining requirements with pip install -r requirements.txt
  4. Create config file .env at root folder as Configuration below
  5. Run app as py j.py

Configuration

Name Description Example
SILENT Run app as silent mode True: Run as silent mode
False: Run as normal mode
INSTANCE_URL PDI Instance URL https://your-PDI.service-now.com
J_USERNAME PDI admin account (username) admin
J_PASSWORD PDI admin account (password) P@ssword123
A_USERNAME Your Dev account (email) [email protected]
A_PASSWORD Your Dev account (password) P@ssword123

Example

SILENT=True
INSTANCE_URL=https://<pdi>.service-now.com
J_USERNAME=admin
J_PASSWORD=P@ssword123
[email protected]
A_PASSWORD=P@ssword123

Schedules

To make your life easier, just create a scheduled task run at the weekend:

  1. Create batch script file auto-wakeup.bat

    @echo off
    call py /<path to this repo>/j.py
    echo.
    pause
    
  2. Open Task Scheduler

  3. Create basic task as below (example):

    • Name: Auto-wakeup
    • Trigger: Weekly
    • Weekly: Start 12:00:00 AM - Recur every 1 weeks on Sunday
    • Action: Start a program
    • Program/script: Select batch script file above auto-wakeup.bat

Donation

If you love my apps, give me a buck bros!

Paypal

servicenow-pdi-wakeup's People

Contributors

dangkychua avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.