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?
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.