Sponsored Content
Full Discussion: Shell Script to hit a url
Top Forums Shell Programming and Scripting Shell Script to hit a url Post 302344536 by restivz77 on Monday 17th of August 2009 02:49:31 AM
Old 08-17-2009
Shell Script to hit a url

Hi all, I have a php file that grabs xml, parses it and updates my db accordingly. I want to automate the execution of this process, rather than having to hit the url manually.

I have been looking into using cron to execute a script to do this, however i'm not exactly sure what command i would use in a shell script or perl script, or which is easier for that matter Smilie

any help would be greatly appreciated, thanks!
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

url calling and parameter passing to url in script

Hi all, I need to write a unix script in which need to call a url. Then need to pass parameters to that url. please help. Regards, gander_ss (1 Reply)
Discussion started by: gander_ss
1 Replies

2. Shell Programming and Scripting

URL call from SHELL script

My system does not have wget, curl and lynx. The chances are low that the SA would install them for me. Do I have any other way out? I need to invoke a few URL calls from my SHELL script. Thought of using a PERL script or writing a simple Java client, but that adds in more dependencies. Any... (37 Replies)
Discussion started by: chengwei
37 Replies

3. Shell Programming and Scripting

Help with shell script for url processing

Hi, My objective is to make a shell script that, when run, you can input multiple links at once. text is then inserted between the http:// part and the following url. example : http://google.be ==> http://sometext.google.be it would be great if it could then open all the created links (wich... (5 Replies)
Discussion started by: tooster
5 Replies

4. Shell Programming and Scripting

Hit count on a shell script

I have a unix shell script (ex.sh) written. How to find out how many users (incl. myself) have run this .sh ? I can insert code snipet at top of script if need be. - Ravi (2 Replies)
Discussion started by: ravi368
2 Replies

5. Shell Programming and Scripting

Refresh a URL from shell script

I have a php page which i run in a browser, it has a the refresh meta tag which refreshes the page after every 15 mins. Now i am running this on a browser. It will refresh and do something and update the database every 15 mins. So now is there any way i can simulate this using a simple shell... (2 Replies)
Discussion started by: tonan
2 Replies

6. Shell Programming and Scripting

How to find invalid URL in a text file using shell script?

How to find and remove invalid URLs in a text file using shell script? (1 Reply)
Discussion started by: vel4ever
1 Replies

7. Shell Programming and Scripting

Shell script for cron url

Hi guys, I have a serious issue with running cron command. My host not supported format below mentioned, just the URL.) http://www.mysite/example.php ( I’m affraid a bit, the host do not going to support the sh as well…anyway) Somehow I need to „wrap” this command, to able to call cron: ... (1 Reply)
Discussion started by: vazzeg
1 Replies

8. Shell Programming and Scripting

fire an URL using shell script

Hi, Can anyone tell me how to fire an URL using a shell script? :wall: (8 Replies)
Discussion started by: arijitsaha
8 Replies

9. Shell Programming and Scripting

How to Parse the XML data along with the URL in Shell Script?

Hi, Can anybody help to solve this. I want to parse some xmldata along with the URL in the Shell. I'm calling the URL via the curl command Given below is my shell script file export... (7 Replies)
Discussion started by: Megala
7 Replies

10. Shell Programming and Scripting

Hit multiple URL from a text file and store result in other test file

Hi, I have a problem where i have to hit multiple URL that are stored in a text file (input.txt) and save their output in different text file (output.txt) somewhat like : cat input.txt http://192.168.21.20:8080/PPUPS/international?NUmber=917875446856... (3 Replies)
Discussion started by: mukulverma2408
3 Replies
OPENNEBULA(1)							   User Commands						     OPENNEBULA(1)

NAME
OpenNebula - OpenNebula occi-compute SYNOPSIS
occi-compute <COMMAND> [OPTIONS] [ARGUMENTS] DESCRIPTION
occi-compute - Manages compute resources OPTIONS
--help, -h Show help --username <id>, -U <id> The username of the user --password <key>, -P <key> The password of the user --url <url>, -R <url> Set url as the web service url to use --timeout <seconds>, -T <seconds> Sets a timeout for the http connection --debug, -D Enables verbosity --verbose Show resources in verbose mode COMMANDS
create <occi xml file> creates a new compute resource described by the provided <occi xml file> list lists available compute resources show <compute id> retrieves the OCCI XML representation of the compute resource identified by <compute id> update <occi xml file> updates the representation of the compute resource represented by the provided <occi xml file> delete <compute id> deletes the compute resource idenfitied by <compute id> COPYRIGHT
Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 OpenNebula 3.4.1 April 2012 OPENNEBULA(1)
All times are GMT -4. The time now is 03:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy