Scheduling » History » Version 2

Anonymous, 08/05/2008 05:49 PM

1 1 Anonymous
= Scheduling =
2 1 Anonymous
Jobs, tasks, and requests must be checked periodically if their status has changed and there is action necessary to be done.
3 1 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. 
4 1 Anonymous
5 1 Anonymous
Edit ''procksi's'' crontab file taking effect for the ''latest'' and ''test'' version:
6 1 Anonymous
{{{
7 2 Anonymous
> sudo -u procksi crontab -e
8 2 Anonymous
}}}
9 2 Anonymous
10 2 Anonymous
{{{
11 1 Anonymous
  0-59/1 * * * * /home/procksi/latest/cron/check_sessions.sh
12 1 Anonymous
  1-59/1 * * * * /home/procksi/latest/cron/check_tasks.sh
13 1 Anonymous
  2-59/1 * * * * /home/procksi/latest/cron/check_requests.sh
14 1 Anonymous
}}}
15 1 Anonymous
16 1 Anonymous
Analogously for ''/home/procksi/test''.