You did it right to express "current directory".
However, cron's current directory doesn't seem to be the one you had in mind: I guess cron will use the user's home.
You might want to chdir to the directory or use the full path of the file in open.
In reply to Re: newbie quesiton:how to open file in crob job?
by Happy-the-monk
in thread newbie quesiton:how to open file in crob job?
by iwanthome
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |