Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

CentOS7X, please help me with the cron command

Newbie Spellweaver
Joined
Aug 29, 2011
Messages
52
Reaction score
3
CentOS7X, please help me with the cron command

The cron logs are running normally, but the script commands are not effective? Can you help me take a look at the code?

#!/bin/sh

logfile=/home/cabal/logs/nation_war.log

echo "`date`: Nation War starting" | tee -a $logfile
echo -e "\n\033[0;32m..-----Starting up CABAL NationWar-----..\033[0m"
systemctl restart WorldSvr_01_16 service




The individual test command is effective:

systemctl restart WorldSvr_01_16 service
 
Newbie Spellweaver
Joined
Aug 30, 2023
Messages
21
Reaction score
1
Your nation war is not starting? or it's not starting by itself? without manual commands, like crontab scheduler?
 
Upvote 0
Back
Top