LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-10-2004, 01:17 AM   #1
dsunger
LQ Newbie
 
Registered: May 2004
Distribution: Debian
Posts: 1

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cron NOT running php script ??!! hendrixx Linux - Software 2 11-15-2006 07:18 AM
cron NOT running php script ??!! hendrixx Programming 1 01-19-2005 05:36 AM
script not running as a cron job sanjith11 Programming 5 11-23-2004 08:42 AM
cron error when running script? meeble Linux - Software 3 09-09-2004 05:00 PM
script not running correctly off cron wedgeworth Linux - Software 3 10-14-2003 08:30 AM


All times are GMT -5. The time now is 02:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration