Visit Our UNIX and Linux User Community


using chrone


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers using chrone
# 1  
Old 10-31-2008
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 08:32 AM..
# 2  
Old 10-31-2008
# 3  
Old 11-01-2008
Yes, I think so. Thank you... Smilie

And what about C++? how can I get list of processes?
# 4  
Old 11-01-2008
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.
 

Previous Thread | Next Thread

Featured Tech Videos