I need to know whether it is possible to create a program/script that runs autonomously once initiated by an event (usually a mouse click) without any further interactions from the user ie. even if he closes his browser the script continues to run on the server
Scenario
lets say that I've got a video sharing site whose permissions,login access and all other relevant credentials are given to me .I've created a crawler in PHP
that crawls the entire site and writes the video src's
of all the videos on the site in a file called log_file.txt
. Now i want to know whether it is possible to create a program that,once i initiate it , downloads the videos from the site's server onto my server using the src's in the log_file.txt
, and this continues to work even if i shut down my computer ie. runs on the server continuously until all the videos have downloaded or otherwise
NOTE : this question is not intended to perform piracy of any sorts. Its just that i have a site that has got some basic video hosting and i want to perform server to server video migration without having to download it on my pc and then reuploading it to new server