473,385 Members | 1,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

67
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 2046
pbmods
5,821 Expert 4TB
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 Expert 100+
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
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 Expert 4TB
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
by: Steven | last post by:
Anyone know if I can run PHP script at command line? Thanks in advance!! -Steven
1
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...
1
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...
3
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)....
1
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?...
0
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...
6
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...
0
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
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...
5
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...

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.