Good day;
need some more help from you -
need to setup a cronjob for automatic overwriting files in a directory without prompt for overwriting permission.
for example directory A has 3 files in it:
original.txt
1.txt
2.txt
cron should overwrite original.txt for example every 12 hours cp /a/1.txt /a/original.txt
after 12 hours 2.txt should overwrite original.txt
problem is that with cp command - the server ask for overwrite permission - until permission is given the file do not get overwritten.
tx
ray
need some more help from you -
need to setup a cronjob for automatic overwriting files in a directory without prompt for overwriting permission.
for example directory A has 3 files in it:
original.txt
1.txt
2.txt
cron should overwrite original.txt for example every 12 hours cp /a/1.txt /a/original.txt
after 12 hours 2.txt should overwrite original.txt
problem is that with cp command - the server ask for overwrite permission - until permission is given the file do not get overwritten.
tx
ray