JoomlaPlug!

JoomlaCloner - Backup and Restore Component

OOPS. Your Flash player is missing or outdated.Click here to update your player so you can see this content.
JoomlaCloner - Joomla backup and restore

 
 
JoomlaPlug.com
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Need help with Command to Run (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Need help with Command to Run
#1714
khawaib (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Need help with Command to Run 1 Year, 11 Months ago  
Hi,

First of all many thanks for such a usefull component.

I am trying to setup a cron job to save a html file from a website to my server.

I tried this with SSH Command but no luck.
wget http://www.website.org.uk/statistics_current.htm > home/s/o/somename/images/stories/nisab/gold.htm

I am not sure how to enter this in. Can you please help?

Thnx
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1715
admin (Admin)
Admin
Posts: 2502
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:Need help with Command to Run 1 Year, 11 Months ago  
Try to use this as ssh command

"links http://www.website.org.uk/statistics_current.htm "

or try to switch the cron type to Web Command, and simply use

http://www.website.org.uk/statistics_current.htm

Let me know if you still have problems! Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1755
khawaib (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Need help with Command to Run 1 Year, 11 Months ago  
Thnx for the reply,

Does these two commands save that html files some where on my server?

I want to save that file on my server once every day so that I can use data from that file for rest of the day.

Is that possible using JCron?

Atached the image with the settings I am trying.

Thnx
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1756
khawaib (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Need help with Command to Run 1 Year, 11 Months ago  
Image
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1757
khawaib (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Need help with Command to Run 1 Year, 11 Months ago  
sorry image is not uploading
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1758
admin (Admin)
Admin
Posts: 2502
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:Need help with Command to Run 1 Year, 11 Months ago  
The cron log is stored in the database, however you will need to create a php script if you would like to save the cron out put to a specific file!

So, what you need to do is a php script that when run will call up that url and write the specific file! This php script will be the one to run in JCron using a url or a shell command to execute as specified before!

Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Search JoomlaPlug.com

Download Joomla

All rights reserved to JoomlaPlug.com ©2006-2009!
Site powered by Joomla!