Search Results

Search: Posts Made By: Nasasdge
Forum: Linux 04-16-2011
7,767
Posted By Corona688
Run all the lines in /etc/profile and include any...
Run all the lines in /etc/profile and include any variables from it into your shell. Unlike a shell login, crontab does not do this by default, you have to do it yourself. Also, I repeat my...
Forum: Linux 04-15-2011
7,767
Posted By Corona688
Did it at least create /root/VoIPpackets ? ...
Did it at least create /root/VoIPpackets ?

You omitted the most important line:

#!/bin/sh

. /etc/profile

# just to prove this script's running at all
touch /root/cronranme

#captures...
Forum: Linux 04-14-2011
7,767
Posted By Corona688
The crontab entry looks okay, but there's lots...
The crontab entry looks okay, but there's lots wrong with your script.

Technically the name doesn't matter but shell scripts are usually .sh, not .txt. It being named .txt makes me wonder if you...
Forum: Linux 03-31-2011
2,085
Posted By vgersh99
be careful with the '%' in crontab: 'man...
be careful with the '%' in crontab:
'man crontab' yields:

Only the first line (up to a `%' or end of line) of the com-
mand field is executed by the shell. Other lines are made
...
Forum: Linux 03-31-2011
2,085
Posted By vgersh99
This is a forward slash - use the '\'
This is a forward slash - use the '\'
Showing results 1 to 5 of 5

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