Execute file in server after window is closed
Moderator: General Moderators
Execute file in server after window is closed
I have made a php script which will take 4-5 hours to run completely so instead of running that file from browser if we could run it on server like a back-end process .so if it's posiible how we can do this.
- greyhoundcode
- Forum Regular
- Posts: 613
- Joined: Mon Feb 11, 2008 4:22 am
Re: Execute file in server after window is closed
That, or use a language that wasn't specifically designed to be run from browsers, such as PERL.
-
sockpuppet
- Forum Newbie
- Posts: 22
- Joined: Tue Jan 18, 2011 8:38 am
Re: Execute file in server after window is closed
If you have SSH access then you can run it from the command line. Though with califdon on this one I'd use PERL, it's very PHP like (or is PHP very PERL like?) so its not hard to pick up the differences in the language.