Search Results

Search: Posts Made By: suman473
6,977
Posted By vgersh99
sorry, I misunderstood what you'd wanted. ...
sorry, I misunderstood what you'd wanted.

#!/bin/ksh

if [ "$(date +%u)" -ne 5 ]; then
echo 'Must be Friday - skipping'
exit 1
fi
The above when put in a script will exit the script if...
6,977
Posted By Perderabo
What OS? Post the output of uname -a.
What OS? Post the output of uname -a.
6,977
Posted By vgersh99
#!/bin/ksh if [ "$(date +%u)" -eq 5 ]; then ...
#!/bin/ksh

if [ "$(date +%u)" -eq 5 ]; then
echo 'Must be Friday - skipping'
exit 1
fi
Showing results 1 to 3 of 3

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