473,569 Members | 2,704 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Running cronjob on php script -> constantly running out of disk space

67 New Member
Hi

I'm trying to run a cronjob on a php script

everything is working fine, but I'm getting my server disk space fulled up - so what's wrong here ???

how can I fix this problem ?
Aug 27 '07 #1
4 2055
pbmods
5,821 Recognized Expert Expert
Heya, Coool.

Changed thread title to better describe the problem.

What does your cron job look like? Is it creating any temporary files or modifying a database?
Aug 28 '07 #2
gregerly
192 Recognized Expert New Member
Hi

I'm trying to run a cronjob on a php script

everything is working fine, but I'm getting my server disk space fulled up - so what's wrong here ???

how can I fix this problem ?
<joke>
My guess......wait for it.....

Is your disk space getting filled up?
</joke>

Ok, seriously, we need more info on what your cron job is trying to do, and that might shed a little light on why your disk space is being all used up.

Greg
Aug 28 '07 #3
coool
67 New Member
alright :)

my cron job run a php script every 10 minutes

this php script has 3 calls to functions in another page

I have few tables already in my database

a call to remove database table -- (i have to do that)
a call to create table in my database
a call to read a table in text format (url) -- and insert this data into my database table

-----------

now in the page that have these functions

it's as normal as create table - delete table - open file/read it/insert data to database table

but yeah I have a temp. table created after inserting all the data in a table
why ! because I wanted to group by all table by one field
and I did that by creating a tempTable that select all feilds in oldtable and group them by one field -> then delete my old table -> then change the name of this tempTable to my old table name

so what do you think now the problem ?
Aug 28 '07 #4
pbmods
5,821 Recognized Expert Expert
Heya, Coool.

Have you checked to make sure that only the correct data is getting copied?

Is your script perhaps creating too many tables or not properly dropping the ones it creates?
Aug 28 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
6816
by: Steven | last post by:
Anyone know if I can run PHP script at command line? Thanks in advance!! -Steven
1
3242
by: bayouprophet | last post by:
Cant get menu script to to put linked page in the same frame. I am new to Java and I am wondering what am I doing wrong? below are my java applet file, frame.html file, and my text file and one of my link file that should load next to the menu on the same page. And Thank You in advance. Here is my menu applet: <html>
1
4802
by: Allen | last post by:
I am trying to add an additional photo/hyperlink to the company web site (I didn't create it) without any luck. The mouseover feature 'highlights' pics by swapping them with another pic using this command in some type of array. I added the mailbox in the lower left corner (see link below)http://www.aamechanical.com/indextemp.htm but I...
3
1722
by: Mossum | last post by:
Hello, I have a PHP file that reads another PHP file and writes it as a static HTML page. I'd like to run the first PHP file as a cronjob (so that the static HTML page is updated once an hour). I'm familiar with scheduling a cronjob and all the PHP is working perfectly. I don't know how to get cron to "run" a PHP file however. Any advice...
1
1111
by: Stefan Schwärzler | last post by:
hi ng, is it possible with php to search new content on internet sides with an daily php cronjob? Are there any php-tool (to search and save into xml or databases; and cronjob-tools) available? thx, steff
0
1074
by: okonita | last post by:
Hi all, I need to learn how to create a cronjob in a Linux environment. What are the steps necessary to accomplish this. For example, I want to run daily statistics for a set of active/volatile tables before a specific application is executed that access those tables. Every piece of information and examples will be highly appreciated. ...
6
1829
by: thelevitator | last post by:
Im trying to execute a perl script from a shell script. I have to pass the path of a file in the command line when i execute the perl script (Automate the perl script execution). How do i feed the path to the perl script through the shell script? Details of the perl script execution: $perl sample.pl Enter the filename: Details of the...
0
1004
by: ecmrd600 | last post by:
I have put my link into cronjob like Entry 1 Command to run: http://www.ecmrd.com/dbiplab/white_...cal_compile.php Minute(s):59 Hour(s): every 1 hr
2
2173
by: mauricioarango | last post by:
Hi I'm trying to run an scheduled php script using cronniX on mac os x. So far I haven't got much promising results, but i think i'm close to it. I'm not familiar at all with Terminal and its language syntax so I've been pulling resources from all over the web to figure out what's going on. The test php script all it does is to write a time...
5
1564
by: Christian Schlemmer | last post by:
Hi, in a webapplication, after a submit a page is called which is processing images uploaded by the user. currently after submit a status bar will be visible (the page for the image processing runs in an iframe) and after image processing the page makes an redirect. if there are many images, the processing needs some time and if the user is...
0
7698
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8122
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7673
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7970
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.