Category Archives: Uncategorized

Shell script to clear PeopleSoft Application Server Cache

Shell script to clear PeopleSoft Application Server Cache
PeopleTools 8.52

#!/bin/bash
echo "PeopleSoft App Server shutting down domain DEV01"
psadmin -c shutdown! -d DEV01
sleep 20
rm -rf /psoft/pt852/fin91/appserv/DEV01/CACHE/*
echo "Cache deleted for DEV01"
sleep 20
echo "PeopleSoft App Server booting domain DEV01"
psadmin -c boot -d DEV01

Shell script to clear PeopleSoft Web Server Cache

Shell script to clear PeopleSoft Web Server Cache
PeopleTools 8.52

#!/bin/bash
/psoft/pt852/fin91/webserv/VIFSYK01/bin/./stopPIA.sh
sleep 10
echo "PIA Stopped"
rm -rf /psoft/pt852/fin91/webserv/DEV/applications/peoplesoft/PORTAL.war/DEV/cache/*
sleep 20
echo "Deleted cache"
echo "Starting PIA"
/psoft/pt852/fin91/webserv/DEV/bin/./startPIA.sh
echo "PIA Started"