LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-12-2003, 10:12 PM   #1
Netmaster0000
LQ Newbie
 
Registered: Dec 2003
Posts: 8

Rep: Reputation: 0
Scheduling jobs


Just curious as to how to write a script to schedule regularly occuring jobs. Any example is acceptable
 
Old 12-12-2003, 10:28 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
An example of what you are trying to do may help. Do you want to use cron for your task?
 
Old 12-12-2003, 11:00 PM   #3
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
look at cron.

"man crontab".

To edit your cron jobs, do "crontab -e".
 
Old 12-13-2003, 07:43 AM   #4
Netmaster0000
LQ Newbie
 
Registered: Dec 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Ok. Let's say i want to write one so that every time i log on it checks my current pid, my processes, and the overall processes on the system?

Even more so, how to i set the priority and then check the time the jobs took to process?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Scheduling problems? mst700 Linux - Newbie 3 07-23-2004 10:23 PM
Linux Scheduling Kumar Programming 3 06-14-2004 05:24 AM
scheduling again nautilus_1987 Linux - Software 2 07-04-2003 08:53 AM
Problems scheduling jobs with cron ferrantepunto Linux - General 5 01-24-2003 08:05 AM
Kernel Scheduling netkern Linux - General 1 04-14-2001 05:18 PM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration