Ask Totally different is a query and reply website for energy customers of Apple {hardware} and software program. It solely takes a minute to enroll.
Anyone can ask a query
Anyone can reply
The perfect solutions are voted up and rise to the highest
Requested
Considered
12 instances
Has anyone observed that crontab
doesnt appear to acknowledge ~
to imply the house listing?
I attempted utilizing a full enlargement of /Customers/username/filename.txt
in crontab, which labored, however utilizing ~/username/filename.txt
ends in failure.
Does anyone know why?
~
is an emblem shells robotically broaden to $HOME
, and isn’t supported by the usual cron
in macOS. You should utilize $HOME
as a substitute in your crontab
file.
You could log in to reply this query.
Not the reply you are searching for? Browse different questions tagged command-line .
lang-bash