Running Php Script In Background Windows
Mar 29, 2007
I have a php script that is scheduled to run once a day via the Windows task manager. My question is how can I tell it to run in the background so the dos window doesnt pop up? Right now the line in task manager to run it is:
c:phpcliphp.exe c:path ophpscript
View 0 Replies
ADVERTISEMENT
Mar 26, 2008
I'm running a script called hlstatsx which is a ranking system for game servers and it needs to be run 24/7
I use ssh to start it with this command:
perl hlstats.pl
However, I have to keep the ssh window open otherwise the script will stop. Is there a way to keep it running in the background even after I close the ssh window or logout?
View 14 Replies
View Related
Mar 29, 2007
I want to run a php script in the background every 15 seconds (otherwise I would simply use cron)... Would anyone be able to tell me how I would set this up?
View 2 Replies
View Related
Nov 23, 2007
So ive installed a bit torrent client on a server for a corporate client to server an internal application they use.
When I run the following code, it starts to seed it fine, however as soon as I close the ssh session which started the seed, it stops seeding.
Ive tried adding an & to the end of the command, however the same thing happens.
Anyone got any ideas how I can get the following line to start as soon as the server boots, and keep running 24/7?
The command is;
btdownloadheadless.py --url [url]
View 7 Replies
View Related
Jul 21, 2009
I am attempting to setup a script which will automatically append the proper file permissions [posix & acl's] to any new files on certain folders that I specify.
Someone Recommended
find /Users/Kevin/Desktop/TRANSFER -type f -exec chmod 777 {} ;
This only seems to run once and when new files put in I have to have the script run every so often as a cronjob, I really just want to have a script to change the permissions of files going into a folder.
View 7 Replies
View Related
Jun 14, 2007
To start the process in the background how and hide him?
In the system CentOS is command "screen" There is the command screen
a system debian does not have this command, only "&" but I do not know her to use.
Please pass equivalents:
Centos: screen
Debian: &
Centos: [CTRL] + [A] + [D] (detach)
Debian: ?
Centos: screen -ls
Debian: ?
Centos: screen -r
Debian: ?
View 1 Replies
View Related
May 21, 2009
Is it possible to run WINDOWS + LINUX VPS Nodes using HYPER - V on WINDOWS 2008?
View 9 Replies
View Related
Jun 25, 2009
We currently have a dedicated development server with our company's host (not hostgator) in which we are charged a decent amount to have on a yearly basis. I was looking to cut down costs and wanted to see if it would be feasible to have a windows box we have in the office setup as our development server. We would install windows 2003 on it along with anything else we need. The current development server is hosted under a IIS 6 / Windows 2003 / CF 7 Environment. If it is doable, what kind of problems would we run into vs having it on a real server? It would only have at the most 3-4 connections possibly once or twice a week so speed is not a huge deal.
Also, how tedious is installing, setting up and migrating everything over for the MSSQL database going to be?
View 0 Replies
View Related
Oct 27, 2008
How stable is Apache for Windows XP Pro?
Can i get the mod_rewrite to work just fine?
Is this a good idea if im no linux buff, or should i just go ISS?
View 8 Replies
View Related
Apr 21, 2008
top - 19:57:53 up 3 days, 23:39, 1 user, load average: 43.91, 43.52, 36.36
Tasks: 313 total, 19 running, 294 sleeping, 0 stopped, 0 zombie
Cpu(s): 85.2% us, 14.8% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2073804k total, 2019960k used, 53844k free, 26992k buffers
Swap: 2096440k total, 11176k used, 2085264k free, 839880k cached
PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND
4657 mysql 15 0 49 1146:03 12.2 414m 247m 3088 S mysqld
10993 nobody 25 0 6 1:29.96 1.0 103m 20m 9240 R httpd
11157 nobody 25 0 6 1:52.78 1.0 105m 19m 7164 R httpd .......
View 9 Replies
View Related
Dec 4, 2007
I have a CentOS system (under VPS, virtuozzo) and I would like to run a background job.
Here what I did:
1. ssh into the server
2. execute:
$ ./myscript.php > output.log &
After executing that command, I got back to the shell prompt.
Then I can see the log file:
$ tail -f output.log
But when I close my ssh session (using putty), the background job is also closed!
Anyone know why?
How can I run background job, leave it running, and quit my ssh session?
View 2 Replies
View Related
Dec 8, 2007
On jaguarpc.com, their terms of service state,
"We do not allow programs to run continually in the background. This is to minimize system resources used and operational maintenance needed. We do not allow any chat or topsite programs on our servers other than the ones we pre-install for our clients to use. IRC: We currently DO NOT allow IRC or IRC bots to be operated on our network."
I thought the whole point of using a VPS was so you could run a continuous application (like a chat/game/etc server)? Why are so many VPS services against IRC (the chat server I use is not IRC based, but I just think its wierd so many prohibit IRC)
View 9 Replies
View Related
Feb 15, 2009
if i can create 2 VPS with completely different OS such as CentOS5 and Windows 2003 Std.
The main server will be running CentOS with HyperVM.
View 8 Replies
View Related
Apr 4, 2015
I want to add a schedule task for run a script.
Path to executable file: C:Windowssystem32cscript.exe
Arguments Field: E:vhostsmysite.irhttpdocsschedule.vbs
But i get error:
Failed with error: 'C:Windowssystem32cscript.
exe ' is not recognized as an internal or external command, operable program or batch file.
View 1 Replies
View Related
Aug 25, 2014
Getting error while running backup on server. Plesk 12 windows 2012.
WARNING: (server object 'server') Cannot dump sso certificate[Could not find file 'C:Program Files (x86)ParallelsPleskadminconfsso.sp.pem'.]
WARNING: (server object 'server') Cannot dump idp certificate[Could not find file 'C:Program Files (x86)ParallelsPleskadminconfsso.idp.pem'.]
View 6 Replies
View Related
Mar 25, 2009
can anybody tell me more about Background Process Killer on cpanel?
BitchX
bnc
eggdrop
generic-sniffers
guardservices
ircd
psyBNC
ptlink
services
what are them and which of them must enable in Background Process Killer option?
View 3 Replies
View Related
Apr 18, 2008
I run a FreeBSD box as my file and webserver I use a DynDns domain name and run the little update program. But anyway when ever I use my lappy and when ever my lappy makes an outgoing connection a login prompt comes up asking to connect to my domain. It used to just say my public IP but I edited hosts.rc so now it says my domain on the prompt.
Is this somthing to do with samba or apache on BSD or is windows detecting that I host my own or what.
View 1 Replies
View Related
Mar 23, 2014
I was trying to get Active Sync running on my Windows Server 2008 R2 to be able to sync calenders, adress-books etc. with my mobile without success. With a Linux Server ot seems to be "easy" changeable like posted here: [URL]...
Need getting Active Sync running on my Windows machine? According to the steps in the mentioned post, I failed very early
1. check
2. I changed the following files: =>
"C:inetpubvhostswebmailhordeconfigconf.php"
"C:ParallelsPleskWebmailhordehordeconfigconf.php"
"C:ParallelsPleskWebmailhordehordeconfigconf.php.plesk"
with the values: =>
$conf['auth']['admins'] = array(my mail account);
$conf['activesync']['enabled'] = true;
$conf['activesync']['version'] = '14.1';
3. Rewrite:
here the "problems" start, as of course I don't have the nginx option the question is, where to place the rewrite-rules best?
4. check
5. don't know what to do here, if it even is a problem with the max connections to the imap server?
6. I can restart the mailenable service ?
7. as I have admin rights in horde now, I could do step 7!
That's it? I can't use the active sync features ...
View 1 Replies
View Related
May 26, 2007
I am unable to set the background for the users on a terminal server.
The server is running Windows server 2003 R2 64 bit Enterprise edition.
I have setup the background path correctly in the group policy for the ou where the users are located. However the background does not load. I have also enabled Active Desktop in the terminal services configuration manager.
Also when I try to set the background manually as the administrator, everything is grey and I am unable to set the background. I have tried to start the Themes service but this does not resvolve the problem. Do anybody here have a suggestion on why I am unable to set the background even on the administrator user manually? (the administrator user does not have any group policies activated).
View 9 Replies
View Related
Jul 10, 2007
Most people probably run Linux on their media servers, but since I don't know much about Linux and the media server we have is unmanaged, I was wondering how you guys feel about running Windows Server 2003 Std on a media server instead of Linux. We'll only be using the server to host Flash video files (.flv) and we'll be serving those vids on websites hosted on other servers, resulting in approx. 50,000-100,000 media views per day (filesizes range from approx. 5MB to 10MB). We don't want to run Windows Media Services, just a Web server (IIS6) and have the Flash video players on the external websites take care of the streaming/downloading part.
View 0 Replies
View Related
Oct 2, 2008
I was actually curious about this since Windows 2008 version came out.
What is the difference between Windows media services on Windows 2003 and Windows 2008?
View 5 Replies
View Related
Oct 5, 2009
I want to purchase a dedicated server onwhich I can set up XEN and make few virtual machines.
how to manage backups - get a sepeare machine and configure it as a NAS, use R1Soft backups etc.
View 5 Replies
View Related
Apr 14, 2008
I recently signed up for a VPS server with 512 MB of RAM. I will be hosting two sites on this VPS server. One is not online yet and I just have a Coming soon page up. The other is a Wordpress blog that is running. I don't have any users yet. But my VPS server is currently using ~410 or my 512 MB. This is with essentially nothing running yet. Does anyone else run their websites with only 512 MB or do I need to upgrade to at least 1 GB? I also checked out which processes are taking up the most
(% wise):
5.6 1 /usr/bin/spamd
5.4 2 spamd
3.8 1 /usr/bin/python
3.4 1 /usr/sbin/mysqld
1.7 1 /usr/local/apache/bin/httpd
1.7 1 cpsrvd
1.7 1 cpdavd
1.6 1 /usr/sbin/restorecond
I know I can't disable apache but what about the others? Spam Assasin is disabled in the WHM but the process restarts even after I kill it. Is Python necessary? I am using php apps..
View 12 Replies
View Related
Nov 13, 2007
after compiling rtg, I run this
/usr/local/rtg/bin/rtgpoll -v -t targets.cfg
and see the data is collected already. However, I cannot keep ssh window all the times. So, how to run rtg automatically as daemon?
View 3 Replies
View Related
Jul 20, 2007
let alone with mysql. Have tried to install those both and have tried endless variations of php settings adn moving php.ini around and checked PATH in IIS adn teh extension .php is enabled.
Question:
Should php.ini be copied to Windows or Windows/system32 directory?
I have a test.php file in my virtual directory. I did have it working at one time but then I installed the extensions so I could have teh mysql extension and it hasn't worked since.
I am just a newbie trying to create a testing environment so I can teach myself PHP. I have endless books, have tried the Yanks method but I am not sure it applies to PHP5.
I have PHP at c:/program files/php/ is this a problem? Shoud it just be directly in the c directory? Does that matter?
View 0 Replies
View Related
Jun 17, 2007
I installed csf as my server's firewall with using cpanel besides, I've customized configuration file and everything seems to be right but when i use csf -s it results this error :
iptables: No chain/target/match by that name
LOG tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *TCP_IN Blocked* '
Flushing chain `INPUT'
Flushing chain `FORWARD'
Flushing chain `OUTPUT'
Flushing chain `LOGDROPIN'
Flushing chain `LOGDROPOUT'
Flushing chain `acctboth'
Deleting chain `LOGDROPIN'
Deleting chain `LOGDROPOUT'
Deleting chain `acctboth'
Error: iptables command [/sbin/iptables -v -A LOGDROPIN -p tcp -m limit --limit 30/m --limit-burst 5 -j LOG --log-prefix 'Firewall: *TCP_IN Blocked* '] failed, at line 196
View 14 Replies
View Related
Apr 27, 2007
i'm thinking of installing virtualization software on a linux vps machine.
reason... windows vps vost so much and linux are much cheaper.
so within my cheap linux vps, i can install virtual windows using my pre-purchased win2000 license key.
has anyone tried this or is it completely not possible. also what linux-host virtualization software would you recommend?
note my linux vps already has kde with vnc running so i have a graphical interface to my linux vps at home.
View 14 Replies
View Related
Aug 13, 2007
I'm aware of the limitations of using Sun's JVM on a VPS. Are there any good JVMs I can run besides Sun's?
View 14 Replies
View Related
Jan 19, 2008
I have a question that's been bugging me for a few months now (which has gotten worse as traffic increases). I run a site that gets some decent traffic (about 9-10M pageviews per month), and is mostly made up of HTML pages with a lot of images (some pages have about 200k of images, others have maybe 1.5-2MB of them). I have a dedicated server that has 2TB of bandwidth per month, and I'm quickly approaching the 2TB point... what should I do?
Normally, I'd buy more bandwidth... but the host I have charges $400/month for 10mbps unmetered bandwidth -- more than the cost of the server each month! What other options do I have?
View 12 Replies
View Related
Apr 30, 2009
I'm looking into purchasing a VPS, and I saw unmanaged are cheaper.
What would I need to know/learn to do maintain an unmanaged VPS?
View 14 Replies
View Related