Forum Moderators: bakedjake
I'm trying to update the creation date of all files within a directory, and set the command in a cronjob.
I tried:
touch /public_html/* but it's not working.
Can you guys please help me and let me know what exactly I need to use for this command to work, and so when set in a cronjob.
Which one would I need to use to only update the creation date of .shtml files?
I hope this makes sense... I feel bad being stuck with such a simple thing. Thank you!
I tried:
touch /public_html/* but it's not working.
what does it do?
did you record the error message?
what is the user and group of the cron process vs the group and owner of the directory and files?
what are the permissions on the directory and files?
you can't do it without owning a piece of it or getting permission...