LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Simulate cron with screen manager (https://www.linuxquestions.org/questions/linux-software-2/simulate-cron-with-screen-manager-843520/)

kaszynek 11-10-2010 03:28 PM

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.

frieza 11-10-2010 03:46 PM

first of all what is it you are attempting to do periodically? how often? and why CAN'T you use cron?

kaszynek 11-10-2010 03:55 PM

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.

frieza 11-10-2010 04:00 PM

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


All times are GMT -5. The time now is 08:47 PM.