Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2001

    cron job question

    Can you set a cronjob in plesk or in ensim? coz i dont find it there.

  2. #2
    Join Date
    Mar 2002
    Chesterton, IN
    You can't setup cronjobs directly in Plesk (I believe the same is true with Ensim). You'll have to set them up in a Linux terminal (via ssh or telnet).
    Matt De Leon
    GreekComm -
    Online Community for Greek Fraternities and Sororities.

  3. #3
    Join Date
    Jun 2001
    You need to setup the cronjob from ssh in Plesk. Don't know about Ensim but I think it's the same.

  4. #4
    Join Date
    Jul 2001
    Thanks guys,
    can u provide me a sample and how to create a cronjob directly?

  5. #5
    Join Date
    Dec 2000
    Leesburg, VA
    Originally posted by jeffrylee
    Thanks guys,
    can u provide me a sample and how to create a cronjob directly?
    There are a myriad of options when setting up a cron job, your best bet is to start with "man cron" that should give you all the information you need.

    You can see some examples of cron jobs here:

  6. #6
    Join Date
    Nov 2001
    Log in to the server via the ssh.
    Let's say you would like to set a cron for a user "test"

    "crontab -u test -e"
    and you'll be able to write a cronjob.
    If this is the first time you creat a cronjob, you will be editing
    a new file.
    Enter something like
    "* * * * *"
    and save the file.

    #The first part of the cronjob means the freqency.
    For example, "* * * * *" means every minutes. The command will be executed every minutes.

    "9 3 1 * *" means the command is done
    at 3:09 on the first day of the month.

    "0 12 * * 0" means the command is done
    at 12:00, every sunday.

    #You can check the current cronjob by typing
    cronjob -l

    #The result will be sent to you by email.
    If you don't need it, you can write the cron like this.

    "* * * * * command,sh >/dev/null 2>&1"

    Hope this would help a bit.

  7. #7
    Join Date
    Jun 2002
    Silver Spring, Maryland

Posting Permissions

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