The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-31-2008
DaTval DaTval is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 2
using chrone

I should write program in C++ which will be runed every 30 minutes on server. Somebody said me that I should put my program in chrone directory. I have no idea what it means. I have never worked on UNIX. Can I explain me how can I do this?

And one more question, this program should find all files which are using by costomers of server, what opportunities does C++ has to make it?

Thank you for help...

Last edited by DaTval; 10-31-2008 at 06:32 AM..
  #2 (permalink)  
Old 10-31-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,257
I bet he was talking about this:

cron and crontab
  #3 (permalink)  
Old 11-01-2008
DaTval DaTval is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 2
Yes, I think so. Thank you...

And what about C++? how can I get list of processes?
  #4 (permalink)  
Old 11-01-2008
muruganksk's Avatar
muruganksk muruganksk is offline
Registered User
  
 

Join Date: Oct 2008
Location: India
Posts: 25
crontab

To use the crontab command, users must be listed in the file /etc/cron.allow. If that file doesn't exist, the users must not be listed in /etc/cron.deny. If neither file exists, all users can use the crontab command unless some other configuration prevents this.

e.g. 00 20 * * 1-5 /usr/sales
Time pattern in a crontab file entry include minute, hour, day of month, month of year, and day of week.

$ crontab -l
To list the available crontab enteries.

$ crontab -e
To edit ( or add ) the crontab enteries

$ crontab -e to create
To create the new crontab, if it doesn't exists.
Sponsored Links
Closed Thread

Bookmarks

Tags
c++ in unix, chron, chrone, run automatically

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:25 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0