0
1
I want to set up a batch file or cronjob of some sort, using the linux command line, to check the availability of domain names. I will provide the list of domains to check using another file. It must then only do 30 checks per hour, and only if the domain is available, it must add that domain name to a different file. So...
- Do I have to create a batch file?
- What command must go in the batch file, that will:
- move through an existing list of domains
- check if those domains are available,
- remove that domain from the original list, and
- add the available domain to the "available" list.
- Repeat this command 20 times every hour
I know exactly how to do this with PHP and cron, but I want to know know if there is a quick way to do this using the "whois" command? It's point (2) that I am stuck on.
I wrote a script in PHP that does, but I am now looking for a quick way to do this via command line, using the "whois" command. – coderama – 2012-06-06T11:02:17.987
I will add more precise questions... – coderama – 2012-06-06T11:02:33.647
( i lost the php script.... ) – coderama – 2012-06-06T11:05:58.223
To start solve this issue, try reading this link: http://mattgemmell.com/2008/12/08/what-have-you-tried/
– Octávio Filipe Gonçalves – 2012-06-06T11:17:12.847U know what.... just close my question please... or i'll delete it. Attitude seems to be more important than helping people on superuser nowadays... – coderama – 2012-06-06T11:21:55.047
1@RD: Sorry, like you can see in my profile, i help people a lot. But i think, you don't ask for help in a particular issue you have in your code. You want only someone write a software for you, with a list a specifications you mention in your question. I think you can investigate a little bit for solve your problem, and then, if you stuck in your code, ask for help. – Octávio Filipe Gonçalves – 2012-06-06T11:27:03.333