The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Cannot store integer value bennichan Shell Programming and Scripting 5 04-10-2008 11:20 AM
AIX and cron logs filtering ?: /etc/cronlog.conf, /var/adm/cron/log Keith Johnson AIX 0 01-09-2008 05:32 PM
Creating file contents using contents of another file ReV Shell Programming and Scripting 21 02-24-2006 07:25 AM
how can i store it ? shamal High Level Programming 2 12-08-2001 02:19 AM
How to store username dinplant Shell Programming and Scripting 3 11-13-2001 06:34 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 04-23-2006
Registered User
 

Join Date: Apr 2006
Posts: 2
How to store the contents in cron

Dear all,
I work a process of create a crontab project, I want some information from u.

The crontab maintains their details like date, time and month and comand in which structure or file wht it is.

i want the idea to store the details of cron-table how it is stored.

Like 30-45 5-10 1,31 1,6,12 command
Now we have the value in expand order and store in ach array like minute[ ], hour[ ], date[ ], month[ ].

If is is morethan means like
30 10-12 1,15,30 12 * command
* 24 31 12 * command
00 24 31 10,12 3 command.

How the datas are stored in ascending order, but the details are not change. in the order of month priorities back order.

By dhinesh
Reply With Quote
Forum Sponsor
  #2  
Old 04-24-2006
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,326
dhinesh,
You could use this as a guide. I do not mean that you should copy the code from there, just use it to understand how cron works.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:06 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0