LinuxQuestions.org
Help answer threads with 0 replies.
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 11-10-2010, 04:28 PM   #1
kaszynek
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
Simulate cron with screen manager


I can't use cron on server. But on the same server i can use screen.
Is there any way (any program) to run something like cron in the screen session? Or any solution for that problem.
 
Old 11-10-2010, 04:46 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
first of all what is it you are attempting to do periodically? how often? and why CAN'T you use cron?
 
Old 11-10-2010, 04:55 PM   #3
kaszynek
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Original Poster
Rep: Reputation: 0
I'm not permited i'm only user of this server.

Once a day now. But maybe there will be need to do it often.
I know, that i can write a script in bash.
But i was wondering that meybe there is way to run something like cron daemon in screen.
 
Old 11-10-2010, 05:00 PM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
if you have ssh access perhaps you could set up some passwordless authentication such as a private key and simply have a workstation on which you are able to configure cron run a script that logs into the server and remotely executes the task? just a thought, otherwise there is the at command but i think that only executes the command ONCE at a specified time
 
  


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
how to redirect the cron output to screen pingao777 Ubuntu 5 10-16-2010 10:24 AM
adding a perl script to cron.daily / cron.d to setup a cron job CrontabNewBIE Linux - Software 6 01-14-2008 09:16 AM
cron not working from crontab nor form /etc/cron/cron.d. What did SuSE change? JZL240I-U SUSE / openSUSE 11 01-04-2007 02:57 AM
Running Screen in a cron job LinuxGeek Linux - Software 1 08-03-2005 01:11 AM
Can not send cron output to the screen tryingHarder Linux - Newbie 3 09-26-2004 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:16 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration