Guest User

Untitled

a guest
Jan 16th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #variables
  2. time=2:00pm
  3. date=2018-1-16
  4.  
  5. #I need to subtract 4 hours from the time variable
  6. at -f /home/JS/filename $time-4hours $date >attemp 2>&1
  7.  
  8. $ echo true | at 2:00pm 2018-01-18 - 4 hours
  9. warning: commands will be executed using /bin/sh
  10. job 10 at Thu Jan 18 10:00:00 2018
  11.  
  12. $ at -f ... $time $date - 4 hours
Add Comment
Please, Sign In to add comment