Search Results

Search: Posts Made By: timgolding
1,402
Posted By timgolding
Thanks bakunin. I think this will be very...
Thanks bakunin.

I think this will be very helpful. I can use this in my backup scripts to determine if the disk is mounted however I am unsure what i will need to do to find out why this is...
1,402
Posted By timgolding
Hi again sorry for the late reply. Yes the...
Hi again sorry for the late reply.

Yes the backup script had been working fine for a long time then one day i checked my backups and noticed backups were missing and this first time the hard disk...
1,402
Posted By timgolding
Backup Disk
I have a backup script. Before it runs it need to check the backup disk is connected. It usually mounts to /Volumes/Files_Bakup_1

I wrote a bit of script to do the check but it has failed me.

...
4,914
Posted By timgolding
Thanks that seems to work :D
Thanks that seems to work :D
4,914
Posted By timgolding
Mysqldump rotate backup
I have a very simple script that uses a cron job to take a daily backup of our orders database.


echo "Dumping ORDERS database";
mysqldump -u root --password='mypassword' -h '1.1.1.1' --opt...
6,126
Posted By timgolding
Oh thats easy thanks
Oh thats easy thanks
6,126
Posted By timgolding
Curl download zip extract large xml file
Hi i have a php script that works 100% however i don't want this to run on php because of server limits etc. Ideally if i could convert this simple php script to a shell script i can set it up to run...
3,878
Posted By timgolding
OK so i got round to testing the scripts and...
OK so i got round to testing the scripts and there was one error. Just needed a ; for the printf, so it treated the sql commands seperately.


printf "DROP TABLE %s;\n" $tbl_names


After...
3,878
Posted By timgolding
Thanks a lot. That all makes sense. Ok. I'll...
Thanks a lot. That all makes sense. Ok. I'll implement the script as you have shown me, but won't get to test it until after Christmas when we go live with this new database. Thanks for all your help.
3,878
Posted By timgolding
Thanks, i wondered while i was in bed do i really...
Thanks, i wondered while i was in bed do i really need to create a smaller version of the database on the development server before i upload or would it be better to just dump remotely from the live...
3,878
Posted By timgolding
Mysqldump certain tables
Hi,

I have to upload part of my database periodically when i make changes to product data etc. However I only want to upload certain tables. We suffer from bandwidth chock here, so i want to write...
Forum: Web Development 10-05-2011
1,681
Posted By timgolding
Not sure i understand exactly what you mean? Have...
Not sure i understand exactly what you mean? Have you got some examples to show me?
Forum: Web Development 10-05-2011
1,681
Posted By timgolding
well assuming the text you want to transform is...
well assuming the text you want to transform is stored in a string variable. Something like this.


$text = "Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah...
Forum: Web Development 10-04-2011
1,681
Posted By timgolding
First question. What scripting language do you...
First question. What scripting language do you plan to use to achieve this? Maybe a server side script such as PHP?
Forum: Web Development 10-04-2011
2,900
Posted By timgolding
Somewhere in register.php? Would have to occur...
Somewhere in register.php? Would have to occur after your meta redirect.
1,801
Posted By timgolding
check mail backup cron job
i have just installed a cron job to run at 3 in the morning once a week. It's difficult for me to test if it works because the email backup program takes the email service down before running the...
Forum: OS X (Apple) 12-16-2010
3,309
Posted By timgolding
Ok thanks. I found this leak command and run it...
Ok thanks. I found this leak command and run it on some processes.


mail:~ timgolding$ ps -ax | grep http
18780 ?? Ss 0:00.62 /usr/sbin/httpd
18781 ?? S 0:00.05 /usr/sbin/httpd...
Forum: OS X (Apple) 12-15-2010
3,309
Posted By timgolding
I ran that command after a restart. Here's what i...
I ran that command after a restart. Here's what i have done.

I stopped the mail service ran mailbfr -f then reconstruct -m. Then i restarted the server. Now the mail seems to be working and the...
Forum: OS X (Apple) 12-15-2010
3,309
Posted By timgolding
mail:~ timgolding$ vm_stat Mach Virtual Memory...
mail:~ timgolding$ vm_stat
Mach Virtual Memory Statistics: (page size of 4096 bytes)
Pages free: 127057.
Pages active: 25333.
Pages inactive: ...
Forum: OS X (Apple) 12-15-2010
3,309
Posted By timgolding
-bash: free: command not found :( ...
-bash: free: command not found

:(

---------- Post updated at 06:38 AM ---------- Previous update was at 06:36 AM ----------

I have top if that's any help. but i don't know how to see...
Forum: OS X (Apple) 12-15-2010
3,309
Posted By timgolding
Email broken
Hi my email appears to be broken. Well the whole server is barley responding. I can log in through ssh and look at the system.log file


sudo tail -f -n 1000 /var/log/system.log


When i do...
Forum: Cybersecurity 10-29-2010
3,325
Posted By timgolding
1000s of undelivered email messages
Hi,

My boss has suddenly started receiving 1000s of messages in his inbox. They are undelivered messages that are bouncing back, though the emails weren't coming from him. I guess either these are...
10,969
Posted By timgolding
ah ok so maybe run that every 10 mins or so....
ah ok so maybe run that every 10 mins or so. Thanks
10,969
Posted By timgolding
I don't understand how would this script get run?...
I don't understand how would this script get run? Need it to run automatically when a folder is uploaded, thx
10,969
Posted By timgolding
Run script if new file exists.
Is there any way to have a script run (either on a web page or a shell script) when new files are put in a folder. E.g we have order response notification XML files uploaded to our server. They are...
Showing results 1 to 25 of 83

 
All times are GMT -4. The time now is 07:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy