|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Easy Way to Call cURL from cron on Another Host?
Have got cron support on one of my hosts, but no cURL. Then on the other host I've got cURL, but no immediate access to cron. Is there an easy way to use some script or utility on the cron-enabled host (probably in a crontab file, right?) on the one host to automatically call cURL on the other at specified times?
Have got PHP and Perl access on both hosts, although I don't think the cron-enabled host allows for CGI Perl access. Am able to figure how to do the crontab file, but am stuck on how to call cURL on other host.
__________________
Disclaimer: content may have handled during settling. :::::::::::::: regards, viz Last edited by viz : January 23rd, 2003 at 10:41 PM. |
|
#2
|
||||
|
||||
|
You don't need CGI access to run a perl script via cron. If you have perl on the cron enabled system, you can run a perl script.
It would be unusual for a host to offer PHP and not offer perl, I've never heard of this before. You can install perl modules without root access, and it isn't difficult at all. Read the tutorial below, it's pretty much all you'll ever need to install perl modules anywhere. http://www.perlmonks.org/index.pl?node_id=128077 |
|
#3
|
|||
|
|||
|
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#4
|
|||||
|
|||||
|
Quote:
![]() Quote:
Quote:
![]() And I don't see any delete buttons available ... if you're a mod, please feel free to delete the other post. ![]() |
|
#5
|
|||
|
|||
|
i am no mod. but "delete" is here:
click on "edit" of your first post, then check the box "delete" and press the button "delete". as noone answered yet in "unix", you should delete that one. thank you. |
|
#6
|
|||
|
|||
|
thank you, M.Hirsch -- in the last vBulletin forum I frequented, that function was disabled and so never 'learned' it -- nice that it works here.
![]() |
![]() |
| Viewing: Dev Shed Forums > Other > Dev Shed Lounge > Easy Way to Call cURL from cron on Another Host? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|