Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

date is expecting reference file #23

Open
hudecof opened this issue May 1, 2023 · 1 comment
Open

date is expecting reference file #23

hudecof opened this issue May 1, 2023 · 1 comment

Comments

@hudecof
Copy link

hudecof commented May 1, 2023

Hello,

the date -r is expecting reference file.
I have got error

root@ns01:/srv/dnssec# bash ./dnssec-reverb sign  64.57.2.in-addr.arpa
zone 64.57.2.in-addr.arpa is ok
date: 1685813368: No such file or directory

TT=$EXPIRE; date -r "$TT" '+%Y/%m/%d %H:%M:%S' > "$KEYDIR/$ZSK.expire"

regards
hudecof

@hudecof hudecof changed the title date is expectinb reference file date is expecting reference file May 1, 2023
@hudecof
Copy link
Author

hudecof commented May 1, 2023

should it be

 TT=$EXPIRE; date -d "@$TT" '+%Y/%m/%d %H:%M:%S' > "$KEYDIR/$ZSK.expire" 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant