Jump to content
xisto Community

DssTrainer

Members
  • Content Count

    3
  • Joined

  • Last visited

Everything posted by DssTrainer

  1. ok I found it. /usr/local/bin/GET -C root:pass http://my.ip.add.ress/folder/logs.php?pass=updatethis does the trick. loads the remote file.
  2. OK im trying these cron jobs out on my cpanel too and I've gotten mixed messages. I have a php file that just needs to be processed in order for it to work. So all i would do is type in the address of the php file, and it would start processing log files. I want to do this remotely from my webhost site. So I was told once that i could use #wget http://forums.xisto.com/no_longer_exists/ and that would run that page at the time I wanted. But it didn't do anything. Then i saw someone use: get http://forums.xisto.com/no_longer_exists/ tried it, nothing happened. so is there a way to just have the cron job access a remote file by the webaddress? The way I have it set up is this. 3 Tasks. Task 1) call on a remote url that is on my home pc to do a log file parse. This is done simply by accessing the php file through any browser, thats it. Task 2) call on a remote url to do a database backup of the database on that server. Now thats the logs are parsed, it updated the database with all the parsed info. Task 3) call on a local file to do a database restore to the mirrored database on the webserver, i.e. make the webserver db match my homepc db. This all works fine if i do it manually. but what command allows the cron job to do it?
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.