LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   running a 'dcop' script from 'cron' (https://www.linuxquestions.org/questions/linux-software-2/running-a-dcop-script-from-cron-179835/)

dsunger 05-10-2004 01:17 AM

running a 'dcop' script from 'cron'
 
I'm trying to run a script that uses a 'dcop' command with 'cron'. I noticed that the script runs fine from a terminal if I'm logged in as a regular user, but will not run if I use the 'su' command. It seems that 'dcop' doesn't work at when I 'su' in a terminal. My guess is that when cron runs a command, the process belongs to root and is not associated with a terminal, and so dcop doesn't know what to talk to. Is there a way around this? Is it possible to either make cron run the program so that it belongs to the user or to make it possible to run dcop commands from root?
Thanks,
David Unger


All times are GMT -5. The time now is 06:18 PM.