Hi, I am trying to use a PHP script as a test for a cron job.
My crontab is 1 line:
30 * * * * /home/www/inc/crontab.php
if I test the file through the browser (ie. http://www.domain.com/inc/crontab.php), the PHP script works -- so there is nothing wrong with the PHP script itself or the... (5 Replies)
Hi All.
im a noob to scripting. could somone help me with a script please.
what i want to do is.
1. run a cmd in the script - qmqtool -s
this will give me an output similar to this.
Messages in local queue: 790
Messages in remote queue: 306
Messages in todo queue: 23
i then want... (1 Reply)
I am a scripting noob and I have tried to search on google, but cannot find the answer as to why this script doesn't work properly.
The idea of this script is that it will list all files starting with f in a certain folder, and delete all but the three newest one. I am trying to achieve this by... (4 Replies)
Hi all, im new to the forums and i hope im not asking a heavily posted Q but here goes.
I use the following script to do a simple calculation, the problem is, the data i receive is in the form of numbers with commas i.e.
1,000,000
This code below wont recognise the commas so i have to remove... (2 Replies)
Hi, Very new to linux but I've just recently setup an ubuntu server.
I have 2 broadband connections and would like to have fallback on the server should one of the lines fail.
I know what I want it to do, but dont know how to script it.
heres the senario;
ubuntu server with 2 ethernet... (0 Replies)
Hi i am a total noob at shell scripting. i was wondering if somebody could help me with my script.
i want the script to search the dev folder for the burner file
because they are different between distrubutions? as i under stand it.
this i the script.
#!/bin/bash
echo "Script för att bränna 360... (4 Replies)
I m writing a script to check Server Hardening.
The problem is whenever i add new point it grows and it become very tedious to edit the script file.
Is there any way of making them separate and call them from one base script?
Is it possible to define global variable that can be accessed via... (5 Replies)
Hello,
I've been given the task of checking the date of expiration dates and notify when the date is 30 days away from expiration.
As stated in the Title, I'm very new to this, I did a good bit of work over the last two days to only find out I was going down the wrong path.
I'm not... (3 Replies)
Hi
This is my first time attempting a bash script, or any kind of programming.
I'm trying to get a clear picture but it helps to work backwards.
It would be greatly appreciated if someone could show me what this script would look like...
Write a script that displays todays date in... (1 Reply)
Hey Guys and Gals, Im a complete Noob to Unix. But recently have started working on a unix system for my PET/CT scanner. My scanner comes with a MOD drive for backup. I would like to back up to USB (its alot cheaper). But the only way to do so is by manually enterin the unix commands. Id like to... (13 Replies)