How do I restart CSF via crontab?

Post Reply
centoscsf
Junior Member
Posts: 1
Joined: 04 Apr 2018, 19:33

How do I restart CSF via crontab?

Post by centoscsf »

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

Re: How do I restart CSF via crontab?

Post by suhastps »

i am also facing the same issue

BallyBasic79
Junior Member
Posts: 79
Joined: 22 Aug 2019, 21:43

Re: How do I restart CSF via crontab?

Post by BallyBasic79 »

Have you confirmed the command is working properly by executing it via terminal? Is the issue the command or scheduling it via cron?

Post Reply