aseek-users  

Re: [aseek-users] su to aspseek

Kir Kolyshkin
Fri, 03 Jan 2003 20:49:51 -0800

Searcher wrote:
Can someone tell me how I can su as the aspseek user to start the index process via a cron job.

I'm just not sure how to call up index as the aspseek user within a script. I can't seem to find that information anywhere.

See man crontab(5). The format of the system-wide (not per-user) crontab has a user name as a sixth field (usually it is 'root') - this is what you need to change to 'aspseek'.

An alternative solution is to use crontab for 'aspseek' user; see man crontab(1) for details.