Find the answer to your Linux question:
Results 1 to 2 of 2
I was looking at putting a script in this directory to run every day. I can find any docs that state when things run in this directory and in what ...
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    20

    Question /etc/cron.daily

    I was looking at putting a script in this directory to run every day.
    I can find any docs that state when things run in this directory and in what order the files are run.

    Any thoughts ? I have 2 files to run as root and one must be run before the other.

    Mike

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,101
    /etc/cron.daily is run from /etc/crontab.
    You can find the scheduled runtime there.

    Regarding one-after-the-other:
    If they shall not run in parallel at all, then I would suggest a wrapper script.
    Other than that, you can define the runtimes in root´s crontab.
    Just call crontab -e as root
    You must always face the curtain with a bow.

Posting Permissions

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