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.
- python (3.10+)
- chrome browser (latest version)
- window 10
- Servicenow (from Vancouver)
pip install -r requirements.txt
- Make sure you have already installed Requirements.
- Clone this repo.
- Install the remaining requirements with
pip install -r requirements.txt
- Create config file
.env
at root folder as Configuration below - Run app as
py j.py
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) | my@email.com |
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
A_USERNAME=my@email.com
A_PASSWORD=P@ssword123
To make your life easier, just create a scheduled task run at the weekend:
-
Create batch script file auto-wakeup.bat
@echo off call py /<path to this repo>/j.py echo. pause
-
Open Task Scheduler
-
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
If you love my apps, give me a buck bros!