How will I know if cron daemon is running in my Slackware installation? I tried the code below and it returns me nothing. It means cron is not in /etc/rc.d folder.

ls /etc/rc*.d | grep crond
  • Enabled or running? – Jeff Schaller Feb 28 at 3:01
  • @JeffSchaller-> Identify if it is running. If it is not, atleast enable. – Eliyah Feb 28 at 3:09
  • 1
    Can you try ps -ef | grep cron and see if it returns anything? – Haxiel Feb 28 at 7:24
  • Which cron? Williamson? Dillon? Vixie? Guenter? Godouet? Jackson? Mašláňová? – JdeBP Feb 28 at 8:35
  • 1
    @Eliyah The ps command shows running processes, and that first line is your cron daemon. So yes, the cron daemon is currently running on your system. – Haxiel Mar 1 at 3:33

On Slackware some daemons/services do not have separate script in /etc/rc.d/ directory and are run directly from /etc/rc.d/rc.M script (or rc.S when you start not in multiuser but single mode). Try:

grep /etc/rc.d/ -r -e "cron"

So it's running by default on Slackware, unless you comment it out manually in rc.M.

Also on Slackware only rc.d is used. You can ignore all rc[0-6].d directories. This directories are provided only to ease your pain if you install some non-Slackware packages that crash without them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.