How do I restart CSF via crontab?

3 posts Page 1 of 1
centoscsf
Junior Member
Posts: 1
Joined: 04 Apr 2018, 19:33


I have a CentOS server with iptables rules in csfpost.sh . I want to restart CSF via a cronjob, but so far unsuccessful, I even tried to source all necessary env variables before restarting csf via cron, but still won't work. How do I restart CSF via crontab?
suhastps
Junior Member
Posts: 1
Joined: 10 Sep 2019, 07:29


i am also facing the same issue
BallyBasic79
Junior Member
Posts: 24
Joined: 22 Aug 2019, 21:43


Have you confirmed the command is working properly by executing it via terminal? Is the issue the command or scheduling it via cron?
3 posts Page 1 of 1