whats a good cron program, and how can i run it ( possibly from my server, or last possibility my comp ).
I want to run it hourly, every day. Happieness is like peeing your pants.
Everyone can see it, but only you can feel the warmth.
Strange question, not sure what you mean. "cron" is a good cron program
See "man crontab" for setting up jobs.
Here's an example crontab entry that will run on the hour:
0 * * * * echo "hello world" > /tmp/hello.out 2>&1
How can I get a "crontab" program that will do this for me, and is free. And if possible, I would like to do this on the server (so my computer is not on 24/7). Maybe? Thanks. Happieness is like peeing your pants.
Everyone can see it, but only you can feel the warmth.
I'm assuming the server is Unix. "crontab" comes with cron. There is nothing for you to get, it's all already there.
Let's assume your program you need to run on the hour is "/home/zas/doit".
Steps:
1) Edit a file (/home/zas/cronjobs.txt say) and add this:
0 * * * * /home/zas/doit > /tmp/doit.out 2>&1
2) Run "crontab /home/zas/cronjobs.txt"
3) Sit back and have a beer
.... ? confused ?
i mean how can i run it from like "netfirms.com"
i really donot know a lot about unix, all i know is it has something to do about cron. Happieness is like peeing your pants.
Everyone can see it, but only you can feel the warmth.
Why is it 0, and hows come when I goto the link, it works, but when cron does it, it doesn't work! Why? Happieness is like peeing your pants.
Everyone can see it, but only you can feel the warmth.
You can't run a URL directly as a command. You are going to need to write a program that will do it for you, and then call that program.
You can write your program in Perl (and probably a lot of other languages too). Look on the web, someone may have already written something. Getting this program working is your first job, worrying about cron or any other scheduler comes later.
Get a copy of wget for windows. Write a .bat/.cmd that takes care of any wget parameters, then use the windows scheduler (assuming you're using a modern version of windows). If you're using an older version of windows, wincron should be available from tucows I would think.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.