Ubuntu :: PHP Cli - How To Run A Page Periodically
Apr 20, 2010
I have to run this page: [URL].., because it fetches the content of some feeds(RSS) and then inserts into Database and then sends SMS texts to subscribed users. when i run it with php-cli in bash like this: php feeds.php?u=y&d=y
I only get:
[4] 11719
but nothing happens, running it like this: black@loopserver:/var/www/loop/cp$ php 'feeds.php?u=y&d=y' Could not open input file: feeds.php?u=y&d=y
Can any one please tell me what to do? I think the problem is coming by passing get parameters, if i just run feeds.php everything goes fine, but I need to pass in those.
View 5 Replies
ADVERTISEMENT
Oct 12, 2010
i am able to try ubuntu and everything works fine until i try to install. the menu comes up to the first page where it tells you to plug in your machine and make sure there is enough disk space and network connectivity. when i hit next on this page the mouse icon changes but the next page never loads. the longest i let it hang there was 2 hours. ive tried multiple times with the same result.
im running from a flash drive on an ASUS Eee PC 1001P-PU17
View 4 Replies
View Related
May 21, 2010
Does anyone know if the ISO is updated periodically? Also is it just me or is Google Chrome faster than Firefox?
View 2 Replies
View Related
Sep 22, 2010
I want to use a script to renew my IP every 5 minutes. I have a static IP and it seems that when another person enter the same IP address as mine, my IP is stolen and is assigned to him.
I know that Cron is responsible for running a script at some time interval. How can I use that to renew my IP?
View 2 Replies
View Related
Jul 11, 2010
10.04; 64 bit In Firefox, the size of the fonts varies greatly from site to site. Some are too small to read, others huge. Some headings and menus overlap.Screen size: 1152 x 864
My settings are:
Proportional: serif 14
Serif: Times New Roman
Sans serif: Arial
Monospace: Courier New 14
View 1 Replies
View Related
Jan 24, 2010
I have ubuntu 9.04 and once every 30 mins or so my mouse freezes up for 1-3 seconds. This generally does not bother me except when im playing games
View 2 Replies
View Related
Mar 26, 2011
Can anyone tell me how to name Page up & Page down buttons in global-keybindings to use the custom commands with these buttons?
View 1 Replies
View Related
Feb 25, 2010
use kubuntu 9.10 64-bit on AMD Turion M500 machine.The network keeps disconnecting periodically or on some heavy activity The connection is totally stable on windows 7 though.My doubts point to network manager and so my next step is to switch to command line wpa_supplicant
View 1 Replies
View Related
Jun 13, 2010
I have an Ubuntu 10.04 installation that I have been using for about a month. However, just recently, at random times for about 5 seconds I can't use my mouse or keyboard.When it does that, the computer isn't frozen, I just can't type.About 5 seconds later, all the text that I was trying to type suddenly appears. I have 4GB or RAM, and even when I barely have any programs running and at 0% of resource usage, the problem still persists. This has just been happening for the past day or so.
View 5 Replies
View Related
Jun 23, 2010
I just upgraded from Ubuntu 9.10 to 10.04 LTS, and my system seems to have developed a weird problem. Every few minutes, especially when I'm using chrome, VLC, or the screensaver is running, Xorg will start to spike in its CPU usage - spikes occur several times per second, and generally go up to 50-100%. Spikes seem to be composed of half "System" and half "User" according to my System Monitor applet thing.
Weirder than the problem is the thing which seems to stop this behavior - going to a terminal which is running top and hitting enter a few times seems to invariably return the CPU usage to usual (within seconds). There does seem to be a ~10 second period where the system monitor shows a few % "System" activity. Xorg starts up again with the same spikes within minutes, however.
EDIT: It looks like almost any keyboard input to any terminal also stops the Xorg CPU use - things which change the state of the other terminal, e.g. hitting the spacebar, typing a letter, will work, while hitting CTRL or SHIFT does not suffice to return the CPU use to normal.
I'm using an NVIDIA proprietary driver (which system->administration->hardware drivers says is (version current) and Recommended). My graphics card is a GeForce 9400 GT. I'm using Kernel 2.6.32-22-generic, and x86_64 Ubuntu. Here's my xorg.conf file:
Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@crested) Sun Feb 1 20:25:37 UTC 2009
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder62) Tue Mar 24 06:15:32 PST 2009
[Code]...
View 9 Replies
View Related
Nov 23, 2010
I am not sure exactly what is going on, but my ASUS UL30a (X32a) keeps locking up until I press a key, then it seems to resume for a while.
At first I thought it was just the mouse, but I noticed that the screen stops refreshing also. Hitting the space key (or any other key) brings the systme back to life (until it happens again).
It is a fresh install of Ubuntu 10.10, not much seems to be going on in the top list (compiz 1%, xorg 0.5%)
I am looking for ways to try and diagnose the problem (if not fix it )
View 9 Replies
View Related
Nov 28, 2010
Do you know of any software that moves the files on my desktop periodically to set locations according to types mime types? For example, move all pictures to pictures folder or move all documents to documents folder.
View 4 Replies
View Related
Jul 4, 2011
I have a webcam that periodically gets dumped and I have to unplug and plug back in to get it to work again. I think it has to do with somethign about how the webcam is USB 2.0 but my PC is USB 1.0, even though it says it is USB 2.0. In Windows it would also dump it but then it would automatically remount it.
View 1 Replies
View Related
Nov 23, 2009
On FC11 64 bit with Adobe flash plugin for Linux installed, I see segfault errors from "npviewer" in /var/log/messages. The only browser I have tried yet, Firefox, has glitches every now and then. Sometimes it shows the title of a page in a tab, but the page is blank. This can even happen when I try the Google main page. Is it true that npviewer has something to do with Adobe flash? Is there a way to fix the problem? If it is caused by Adobe flash, is there a different plugin that will replace Adobe flash player?
View 1 Replies
View Related
May 10, 2010
How can I find page hit and page miss ratio in linux fedora core 12?
View 3 Replies
View Related
Mar 9, 2011
I have a problem printing to my HP printer.
What is my problem? I have a page (one page - text an graphic) to print. When I sent it to my printer it prints OK. When I sent it agian, the output is totally garbled. When I sent it again (a third time) it is OK. Sent it again (4th time) it is garbled. Sent it again ... you get the picture ;-). Alternating good and bad pages.
What is my setup? I run Fedora 14 with Cups 1.4.6. The printer is a HP Deskjet 940C. It is connected to a linksys wireless print server. It is configured in CUPS to use ipp printing. The driver I use in Cups is 'CUPS+Gutenprint v5.2.6 Simplified (color, 2-sided printing)'.
View 2 Replies
View Related
Jun 8, 2009
I have apache httpd server on my Fedora 10I got 2 problems:First : I copied the web page files to its Document Root <var/www/html> & Disabled the default web page. But when I visit http:/localhost ,it shows up the list of files in <var/www/html> as if a ftp server browsed in web page. So how can I set http://localhost load my default web page index.html ?Second :I want to set up a web server on Internet through my router . I applied for DDNS account & input it into router correctly . I set virtual host in server to redirect any access from port 80 to 192.168.1.2:80 in LAN . Just for in case , I also download and running the DDNS software & installed it on PC 192.168.1.2 in LAN . My DDNS provider is oray.cn . It's a Chinese server provider . I don't think there is anything wrong with oray.cn . But if you need its information just visit oray.cn (Google can translate it for you). So I want to know did I miss something to set up a web server in this kind of situation
View 2 Replies
View Related
Jul 26, 2010
All has been fine with my emails but today morning when i tried to log on I got an error message "You must be logged in to access this page, go to logon page" I dont understand why even when i supply my correct user name and password.
View 2 Replies
View Related
May 8, 2009
wanted to know if i can execute commands on linux console through a web page and redirect it back to my web page !For example :if i send a query "ls"it should execute this command on my linux console and also redirect the list of the files to the web page from which i give the command !
View 8 Replies
View Related
Jul 1, 2010
I have Apache, MySql server, and phpMyAdmin installed on my desktop. With the default installation of phpMyAdmin, I should be able to log in as root without a password. (Or at least every other time I have installed it, I could.) However, that isn't the case. I can't log in to phpMyAdmin period. I have tried setting the password for root with MySql through the terminal. Still no results. No matter what I do, when I try to log in to phpMyAdmin, I am denied access.
this is a fairly common issue (though I have never encountered it before) as I found similar posts in numerous forums, etc. I finally found a solution and now have it working. In case others have a similar problem, I am posting the solution that I used here. First open a terminal. Then use the following command
Code:
mysqladmin -u root password NEWPASSWORD
Substitute NEWPASSWORD with the password that you want to use and then you should be able to log in to phpMyAdmin as root with the new password.
View 2 Replies
View Related
Jan 23, 2010
Generally, my sound works in all applications and browsers...but every day or two, it suddenly quits and won't work again until I reboot. I am running Ubuntu 64, 8.10 and my mobo has a built-in sound card.
View 1 Replies
View Related
May 8, 2010
Since Lucid install the cursor periodically disappears, both mouse and trackpad. Requires restart.
View 6 Replies
View Related
Oct 15, 2010
New Toshiba laptop dual booting with Windows 7. I really like MM 10.10 and most things are working great! Periodically I will be web browsing and I lose connection. At first I thought it was Firefox but if I try to disconnect wireless and reconnect it will no longer connect unless I reboot. My network is hidden but Ubuntu finds it no problem on a fresh boot and connects per my settings and it is not a network problem since I can connect to Windows all day long and the rest of the family never has problems.
My wirless device is: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)n and all OS updates are applied that I can find. I am thinking about un-hidding my network since years ago that used to be a problem with Redhat and even early Ubuntu but beyond that I cannot think of what else to try.
View 9 Replies
View Related
Sep 15, 2010
It's a bit unnerving.The monitor suddenly goes black, the keyboard resets, the mouse resets. And after about 2 - 3 seconds all is back to normal.My USB setup is a bit complicated (mostly because I could). A 7 port hub is connected to a USB port on the computer. Among other things, the 7 port hub is connected to a four port hub on the monitor (Viewsonic). The mouse is connected to the 4 port hub. The PS1 keyboard is connected to the PS1-to-USB convertor which is connected to the 4 port hub.
View 4 Replies
View Related
Dec 29, 2010
Why does my monitor flashing periodically?
I tried to change the Resolution and Refresh rate. But it does flashing yet. When I installed the system that flashing too. Period of about ten seconds
In windows xp dont have this situation.
My monitor is "HP vs17" Ubuntu version is 10.10 Desktop
View 2 Replies
View Related
Aug 20, 2010
I've bought an used computer with DQ965GF motherboard which includes GMA3000 integrated video, Sigmatel 92XX (from what specs say) audio codec, and CoreDuo processor. Also 1 GB DDR2 RAM.It worked great when I tested it using live Ubuntu 10.04, Compiz worked out-of-the-box, etc.But when I installed and started playing movies, I found problems. Videos pauses from time to time, approx. once a minute (randomly), even when there's no other activity. They pause for a very short moment, half a second maybe, with audio, then resume, usually with 1-2 secs period of slowed down playback (like, trying to get up to speed and sync), then resume normally.
I tested with mplayer and totem, seems to be the same, though on mplayer the effect seems to be less frequent / shorter delays.Can this be video driver? Audio driver? Motherboard issues? BIOS settings? How do I test?The videos that I play are usual DivX AVIs, can't be speed problems. Also, when I replay the paused parts, they do not pause again, so these are probably not movie/hard drive errors.
View 1 Replies
View Related
Jan 17, 2010
how to untar a file name /opt/Backup/abc.tar.gz2 periodically with crontab in debian. My Script name is abc.sh and i write it as
crontab -e
*/2 * * * * /bin/sh/ /opt/Bachup/abc.sh
while my abc.sh file is as under
#!/bin/sh
tar -xvf /opt/Backup/abc.tar.gz2
But it did not give any result. When i run it as sh abc.sh. it works succefully. but not in the crontab.
View 4 Replies
View Related
Jan 3, 2016
I have a custom .Xmodmap file to change the keyboard layout. The problem is that sometimes the keyboard layout changes back to the default. I have seen the lights on the keyboard blink at times, so I tried unplugging and reconnecting the keyboard and yes - that reset the layout. I can see keyboard removed/detected entries in the logs as well, so I guess my keyboard reconnects sometimes, I don't know why. However the solution from the post earlier (to rename the xmodmap file to ~/.Xmodmap) did not work. So is there another default filename I should use? Or do I have to enable xmodmap to run when a keyboard is plugged in somehow?
The only thing I can think of right now is to monitor /var/log/Xorg.0.log for "Adding input device USB Keyboard" and running xmodmap when that happens... but I'm really hoping for a better solution.If I can't fix the xmodmap problem, maybe I can fix the usb disconnects.I read something about power saving settings for usb. After some digging, I found that those settings are in /sys/bus/usb/devices/.../power/. However, disabling autosuspend for the hub did not seem to work (it was already disabled for the keyboard).
But I found something else in kern.log. Perhaps the keyboard disconnects has something to do with static electricity?
Code: Select all[ 7078.175830] usb 1-10-port3: disabled by hub (EMI?), re-enabling...
[ 7078.175888] usb 1-10.3: USB disconnect, device number 4
[ 7078.624349] usb 1-10.3: new full-speed USB device number 6 using xhci_hcd
[ 7078.729012] usb 1-10.3: New USB device found, idVendor=04d9, idProduct=0125
[ 7078.729014] usb 1-10.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 7078.729016] usb 1-10.3: Product: USB Keyboard
View 0 Replies
View Related
Mar 14, 2010
I recently updated my girlfriends laptop (and my own) to KDE 4.4 (using the Factory repository). I am also using some additional repositories like PackMan.
I recently read on this forum, that the updater-applet is only updating from the main repositories (the ones set up after install). I would like to update from all updates periodically using "zypper dup".
I read somewhere else, that cronjobs are used to run scripts based on schedules. how I could run "zypper dup" with a cronjob and preferably under root, so I dont have to type the password every time?
View 9 Replies
View Related
May 24, 2010
I am running a nvidia gt220 video card and dual monitors. The acer monitor blanks out and in periodically. Quite often at times. I believe this is a driver problem. What I am wanting to do is roll back to an older driver. In the nvidia repository I only see the newest one listed and that is the one I am using.
I am thinking the 185 driver is what I have used before without any problems. Really not sure which one it was, but it was an older one. So the question is how can I get back to the older drivers so I can try and see which one it was.
View 2 Replies
View Related