Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2006

    Install Cron Daemon

    Just got a new server - unmanaged so I'm doing everything.

    I got a blank CentOS 4.4 installation. I have installed a lot of things on it, but I need crontab and I get this error:

    -bash-3.00# crond
    -bash: crond: command not found

    How can I install cron daemon on there?

    Also, I have SSH all up and running, though not SCP. Does anyone know why the server refuses SCP connections and accepts SSH connections? What can be done to allow SCP connections?

    Thanks for teaching me!

  2. #2
    Join Date
    Mar 2005
    Maine, USA
    try "crontab -e" to edit a crontab for the current user.

    what OS is the server?

    post the ssh server logs of what happens when you try to scp files to the server or off the server.

  3. #3
    Join Date
    Oct 2006
    The cron daemon is probably already installed. You can enter
    ps aux| grep 'cron'
    to see if crond is running.

    If you want to set cron to run a program, or alter the settings for a program cron is already set to run, you use the crontab command. Try 'man crontab' to read the MANual page for the crontab command.


  4. #4
    Join Date
    Jun 2006
    -bash-3.00# ps aux| grep 'cron'
    root 11452 0.0 0.0 1652 476 pts/0 S+ 02:49 0:00 grep cron

    -bash-3.00# crontab -e
    -bash: crontab: command not found

    -bash-3.00# man crontab
    -bash: man: command not found

    OS: CentOS 4.4

    The server just rejects the SCP request: "The server has rejected the SFTP request" says Tunnelier.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts