Search Results

Search: Posts Made By: esgaroth32
3,205
Posted By esgaroth32
Hi, No it needs to be on the 25th of the...
Hi,

No it needs to be on the 25th of the month but I would like to test to see if the script works fine.

I changed the cur_date to the following to test

cur_date=`date --date='now'...
3,205
Posted By esgaroth32
The start of my script contains #!/bin/bash ...
The start of my script contains

#!/bin/bash
date=`date +%F`
prev_date=`date --date='-1 month' '+%Y-%m-25 00:00:00'`
cur_date=`date --date='now' '+%Y-%m-25 00:00:00'`
mkdir...
3,205
Posted By esgaroth32
So I change use $cur_date as: $cur_date...
So I change use $cur_date as:

$cur_date instead of '$cur_date' ?

--- Post updated at 01:20 AM ---

Also,

Date should be displayed as 2019-06-22
3,205
Posted By esgaroth32
INTO OUTFILE Error 2
Good day, I am trying to run the following command but it does not seem to work.

[root@ ]# mysql -pPassword asteriskcdrdb -s -b -e "select 'Account...
Showing results 1 to 4 of 4

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