nhance/phpsetvariable.sh
2024-12-06 10:44:31 +05:30

14 lines
407 B
Bash
Executable File

#!/bin/bash
# Validate input argument
# if [[ "$1" == "1" ]]; then
# echo "1" > /opt/lampp/htdocs/nhance/Job_Queue
# echo "Job Queue variable has been set to: 1"
# elif [[ "$1" == "0" ]]; then
# echo "0" > /opt/lampp/htdocs/nhance/Job_Queue
# echo "Job Queue variable has been set to: 0"
# else
# echo "Invalid argument. Use 1 to enable the queue or 0 to disable it."
# exit 1
# fi