Scheduling » History » Version 3

Anonymous, 08/05/2008 05:49 PM

1 3 Anonymous
2 3 Anonymous
h1. Scheduling
3 3 Anonymous
4 1 Anonymous
Jobs, tasks, and requests must be checked periodically if their status has changed and there is action necessary to be done.
5 3 Anonymous
E.g.: After a certain period of time, given in _/home/procksi/latest/conf/main.ini_, sessions and requests expire and must be deleted. 
6 1 Anonymous
7 3 Anonymous
Edit _procksi's_ crontab file taking effect for the _latest_ and _test_ version:
8 3 Anonymous
<pre>
9 1 Anonymous
> sudo -u procksi crontab -e
10 3 Anonymous
</pre>
11 2 Anonymous
12 3 Anonymous
<pre>
13 1 Anonymous
  0-59/1 * * * * /home/procksi/latest/cron/check_sessions.sh
14 1 Anonymous
  1-59/1 * * * * /home/procksi/latest/cron/check_tasks.sh
15 1 Anonymous
  2-59/1 * * * * /home/procksi/latest/cron/check_requests.sh
16 3 Anonymous
</pre>
17 1 Anonymous
18 3 Anonymous
Analogously for _/home/procksi/test_.