0

I have a Wrapper-Script running several scripts at once. I would like to schedule the wrapper to be run every friday morning. Cron jobs are disabled for this server, therefore I cannot use cron.

What would be the best way to schedule the execution of a unix-script wihtout using cron?

Cheers

Micky Maus
  • 15
  • 1
  • 5
  • 1
    Well, you obviously can implement your own small deamon waking up every now and then, checking the current date and time and deciding if anything is to be done. So some form of "poor mans cron". But why not enable the tools that is exactly the right one for what you want to do? – arkascha Mar 30 '17 at 12:58
  • An obvious alternative would be to trigger execution from _outside_, for example by making an ssh login and executing a script or by a http request to a server which triggers the local execution. – arkascha Mar 30 '17 at 12:59
  • I am not in the position to enable the right tools nor can I change this decision. Thanks for your ideas. – Micky Maus Mar 30 '17 at 13:07
  • I'd say that the second comment I made suggests alternatives you do not really need special tools or permissions for, assuming that you have access to that system _at all_. – arkascha Mar 30 '17 at 13:12
  • Triggering the execution from outside seems good. Thanks for your help :) – Micky Maus Mar 30 '17 at 13:23

1 Answers1

0

Possible Options to Schedule a script -

  1. Schedule script execution using Task Scheduler of Windows, which will login to Server to execute the script. Check this link
  2. Expect command of unix which can allows to login to Another Server and execute the script. Check this link
Community
  • 1
  • 1
VIPIN KUMAR
  • 3,019
  • 1
  • 23
  • 34