Page 1 of 1

How do I restart CSF via crontab?

Posted: 04 Apr 2018, 19:42
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?

Re: How do I restart CSF via crontab?

Posted: 10 Sep 2019, 07:31
by suhastps
i am also facing the same issue

Re: How do I restart CSF via crontab?

Posted: 12 Sep 2019, 00:35
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?