Find the answer to your Linux question:
Results 1 to 2 of 2
Hi Experts, I want to set up a schedule job. which user do i need to log as type crontab -e my stpes as log as root/ or sudo 1)put ...
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    3

    Thumbs down how to set up a schedule in redhat 5

    Hi Experts,

    I want to set up a schedule job.
    which user do i need to log as
    type crontab -e


    my stpes as
    log as root/ or sudo

    1)put my myschedule.sh in /etc/cron.d/ directory
    2) typr crontab -e
    3_ append my teat connand as
    15,1,30,45,7/tmp/test.sh

    try to every 15 minute test code in system
    i go tmessage as
    no crontab for root - using an empty one crontab: installing new crontab "/tmp/crontab.XXXXpdj47f":1: bad minute error in crontab file, can't install.
    Do you want to retry the same edit?

    How to fix this issue?
    Thanks
    Jimmy

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    This is where we usually tell you to RTFMP - read the farking man pages. All the information you need are there. Try both cron and crontab.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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