LotharIrausquin
MIS
We are running CensorNet on a Debian Linux server.
This program is using two important daemons namely the squid daemon "/usr/local/squid/sbin/squid"
and dansguardian daemon "/usr/local/sbin/dansguardian".
Because these daemons tend to stop from time to time I need to configure the daemons to start every hour or so.
I need to edit the /etc/crontab file.
I am not sure if I need to put the "restart" command after the daemon.
If I am correct the crontab should look like something this:
min hr dmon mon wday user command
0 * * * * root /usr/local/squid/sbin/squid
0 * * * * root /usr/local/sbin/dansguardian
Do I have to put the "restart" (or "start" ) command after the daemon? Or can I leave it like this?
This program is using two important daemons namely the squid daemon "/usr/local/squid/sbin/squid"
and dansguardian daemon "/usr/local/sbin/dansguardian".
Because these daemons tend to stop from time to time I need to configure the daemons to start every hour or so.
I need to edit the /etc/crontab file.
I am not sure if I need to put the "restart" command after the daemon.
If I am correct the crontab should look like something this:
min hr dmon mon wday user command
0 * * * * root /usr/local/squid/sbin/squid
0 * * * * root /usr/local/sbin/dansguardian
Do I have to put the "restart" (or "start" ) command after the daemon? Or can I leave it like this?