Script that will look the same as Cron

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
# 8  
hi drysdalk,

i see.. can you give me at least sample of script so that i can follow and rewrite on my own. i think thats what im looking for.

# 9  
Why not just download the source code for crond and build your own version from source and run your own version?
# 10  
For example, here is some mcron source:

mcron.git - mcron
# 11  
What's wrong with the 'at' command?
# 12  
im not yet familiar with the source. maybe you can help me to create it via script like drysdalk said. thx thx
# 13  
Maybe you should not try to write a crond process using a shell script ( smells like homework ) and just install your own version of crond from the many sources on the net.

We are not here to do your homework for you.
# 14  
no sir its not. we are not allowed to used cron to our server and install, we are looking for a solution because we have many script that we need to run. thats why im seeking assistance to all of you who who are veteran. at least idea or a sample short script then i will create my own. because this is my first tym i encountered this. apology.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

10 More Discussions You Might Find Interesting

1. HP-UX

Use glance as a cron script

On a HP-UX 11.31 server I try to make a script that can launch glance for x iterations and the output to be stored in a file. I want to be able to launch the script via crontab. glance manual says that in order to run glance in the background with no terminal screen displays I should use... (2 Replies)
Discussion started by: black_fender
2 Replies

2. Shell Programming and Scripting

Script in cron

I have a script that require input from terminal at some point (either a,b or c) How can I cron the script and automatically assume c as the input. (2 Replies)
Discussion started by: aydj
2 Replies

3. UNIX for Dummies Questions & Answers

Execution problem with Cron: Script works manually but not w/Cron. Why?

Hello gurus, I am making what I think is a simple db2 call from within a shell script but I am having difficulty producing the desired report when I run the script shown below from a shell script in cron. For example, my script and the crontab file setup is shown below: #!/bin/ksh db2... (3 Replies)
Discussion started by: okonita
3 Replies

4. Shell Programming and Scripting

Need help to run a script on cron

I need someone to help me out to upload script on host but I have problem can anyone help me out ? (2 Replies)
Discussion started by: spit
2 Replies

5. Shell Programming and Scripting

cron a script

This has to be the ultimate newbie question... I have a script that works well. To run it, I cut and paste it into a putty session. Is there a way to put the script into a file and just run that file -- like a DOS batch file? I'd like to schedule the file to run daily. Thanks,... (3 Replies)
Discussion started by: landog
3 Replies

6. Solaris

Script not running from cron

Hi, I''ve made a script that's running fine from the command line but when running from cron it encounters the following issue: /tmp/tstscript/testfail.ksh: typeset: not found I've searched in Google and couldn't find anything, here's the beggining of the script (I can post the rest if... (4 Replies)
Discussion started by: Cvg
4 Replies

7. Solaris

Script for cron

Dear All, I have an assignment about collecting /var/adm/messages on each server running Solaris 9. All these servers will be installed with a script that collect all the messages in cron. All the messages will be collected by a single server. I have a script to collect all the messages, but... (2 Replies)
Discussion started by: frankoko
2 Replies

8. Shell Programming and Scripting

how to run script? call other script? su to another user? make a cron?

Good morning. I am searching for "how-to"'s for some particular questions: 1. How to write a script in HP-UX 11. 2. How to schedule a script. 3. How to "call" scripts from the original script. 4. How to su to another user from within a script. This is the basics of what the... (15 Replies)
Discussion started by: instant000
15 Replies

9. Solaris

Need to cron the script

I want to cron one script which should run every second Thursday (in general Nth occurence of any day) of every month. I am not getting the exact idea of doing this; Please guide. Regards, (3 Replies)
Discussion started by: jaiankur
3 Replies

10. Shell Programming and Scripting

Cron Script Q

When logged in as root if I type "env" there are a bunch of environment settings including one for CLASSPATH. However, I ran a cron script that ran this command "env > cronEnv". I noticed that the environment variables were entirely different inside the script. There wasn't even a CLASSPATH... (2 Replies)
Discussion started by: doublek321
2 Replies

Featured Tech Videos