Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Interactive Cron
MattBrown
post Dec 4 2008, 04:50 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 4-December 08
Member No.: 13,778



Hi,
Could anybody tell me if it is possible to get cron to run a script that interacts with a user through terminal if they are logged on?

Basically I want a script to run at a certain time each day that will give the user 3 options then perform an action based upon their choice.


I have looked around on google and found a few references to this but nothing really useful if anybody knows where I may be able to find info on how to accomplish this I would be very grateful.

Thanks in advance
Matt
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
michaelk
post Dec 4 2008, 08:24 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



http://www.codecoffee.com/tipsforlinux/articles/23.html

Try:
X Y * * * DISPLAY=localhost:0.0 xterm "whatever blows your skirt.file"
Go to the top of the page
 
+Quote Post
MattBrown
post Dec 7 2008, 10:29 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 4-December 08
Member No.: 13,778



Hi,
Thanks for your reply, unfortunately this does not seem to work sad.gif

could this be because I am working in Terminal form Gnome at present?

Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th November 2017 - 12:40 AM