Find the answer to your Linux question:
Results 1 to 2 of 2
Hi guys, Can someone tell me how to start a process when the system boots and stop it at a particular time. I want the process to start when the ...
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Location
    Helsinki, Finland
    Posts
    8

    Start a process at boot and stop it at a particular time

    Hi guys,

    Can someone tell me how to start a process when the system boots and stop it at a particular time.

    I want the process to start when the user boots his machine and I want it to stop at 5 o clock in the evening.

    Thanks in advance.

    Anks

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    The process you want to run at boot you can place a script into rc.local which will be run on boot. Then just create a cron job o kill it at 5pm.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

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