Discussion:
[SLE] running jobs when not logged in...
Wojciech Malinski
2003-02-04 16:57:03 UTC
Permalink
Hi,

How can I run a job while I'm not logged in,
without using any special programms?

Thanks,
W.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Anders Johansson
2003-02-04 17:03:39 UTC
Permalink
Post by Wojciech Malinski
Hi,
How can I run a job while I'm not logged in,
without using any special programms?
Define "special programs"

There's cron, which runs jobs at regular intervals. There's "at" which
runs a job at a specified time.
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Wojciech Malinski
2003-02-04 19:23:31 UTC
Permalink
Actually I was looking for a command which will
alow me to run my program when I log out.

I guess I can do that by NOHUP.

Thanks all for your help,
and sorry for being vegue
W.
On Tue, 2003-02-04 at 17:57, Wojciech Malinski
Post by Wojciech Malinski
Hi,
How can I run a job while I'm not logged in,
without using any special programms?
Define "special programs"
There's cron, which runs jobs at regular intervals.
There's "at" which
runs a job at a specified time.
--
Check the headers for your unsubscription address
For additional commands send e-mail to
Also check the archives at http://lists.suse.com
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Karol Pietrzak
2003-02-04 17:40:37 UTC
Permalink
Post by Wojciech Malinski
Hi,
How can I run a job while I'm not logged in,
without using any special programms?
I don't know whether this is exactly what you want, but I believe the
'su' utility does this by being able to run a command without loggin in
as a user, per se. e.g.,

# su root -c 'ls /root'
Password:
Desktop bin
#

Or were you looking for something else?
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Marc Christensen
2003-02-04 17:53:02 UTC
Permalink
Post by Wojciech Malinski
Hi,
How can I run a job while I'm not logged in,
without using any special programms?
Take a look at the following man pages:

'man 1 crontab'
'man 5 crontab'
'man at'
--
Marc Christensen
http://www.mecworks.com
http://www.mecworks.com/~marc/resume
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Tony Alfrey
2003-02-04 17:38:59 UTC
Permalink
Post by Wojciech Malinski
Hi,
How can I run a job while I'm not logged in,
without using any special programms?
Thanks,
W.
Read man cron
--
Tony Alfrey
***@earthlink.net
"I'd Rather Be Sailing"
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Robt. Miller
2003-02-04 18:08:39 UTC
Permalink
Post by Wojciech Malinski
Hi,
How can I run a job while I'm not logged in,
without using any special programms?
Screen
--
(o<
//\ Powered by SuSE Linux
V_/_ Virusproof. Crashproof.
1:08pm up 33 days, 3:39, 25 users, load average: 1.74, 1.62, 1.50
processes 6503526
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
The Purple Tiger
2003-02-04 19:04:18 UTC
Permalink
Post by Wojciech Malinski
How can I run a job while I'm not logged in,
without using any special programms?
Hi Wojciech,
Your question is a bit vague, so I will offer solutions for several
similar, but more precise questions ;o):

Q: How can I run a job at regular intervals, even when I am not logged
in, using programs in a standard SuSE install?

A: You will need to look at cron for that. do "man cron" and "man
crontab" for information on how to setup cron. The crontab is the file
[on a per-user basis] that lets cron know when to run the programs in
it :o)

Q: How can I run a program once, at a specific time when I may not be
logged in, using programs in a standard SuSE install?

A: Have a look at "at" for that task. "man at" will tell you about it
[or man:at in a konqueror window]

Q: How can I run a program and log out, still leaving it running whilst
using software on the SuSE CD/DVD/FTP?

A: I recommend a program called "screen". It is included with SuSE. If
I was wanting to run "mutella" in this way, I would use the commandline
"screen mutella" [without quotes] and then press and hold "ctrl", press
"a" then release "ctrl" and press "d" which detaches the program from
your terminal. If I wanted to see what the program was doing next time
I logged in, I would use the commandline "screen -r" [reattach]

If I have completely got the wrong end of the stick, then please excuse
me - I just got a bit confused by the vagueness of the question :o)

Take care,

Jon
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Continue reading on narkive:
Loading...