Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : cron job command being truncated



Normal Mode | Print  

 cron job command being truncated, Cron job losing characters (5 Replies, Read 65593 times)
nisfooty
Group: Member
Post Group: Newbie
Posts: 3
Status:
I have a command for cron job:

let "round_no=$(<public_html/cgi-bin/currentDD.txt) + 1" ; if [ "$(date +\%Y\%m\%d)" -ge "20230314" ] ; then echo "DD set to " $round_no ;echo $round_no > public_html/cgi-bin/currentDD.txt ; else echo no DD set $round_no ; fi

But when I edit I get:

let "round_no=$(

The characters from the '<'  are being removed
IP: --   


Threads
 nisfooty   cron job command being truncated, Cron job losing characters (5 Replies, Read 65593 times)
    |--  Bhavinn   Hi, Sir, the...   on December 20, 2022, 7:55 am
    |--  nisfooty   Hi, Sir, the...   on December 20, 2022, 8:55 pm
    |--  Bhavinn   Hi, Sir, the...   on December 21, 2022, 7:25 am
    |--  nisfooty   This is still...   on January 6, 2023, 12:12 am
    |--  Brijesh   Hi, The fix...   on January 6, 2023, 7:06 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 16, 2024, 8:48 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.024