• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved File permission cron job

Matzn

New Pleskian
Server operating system version
Ubuntu 18.04.6 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.43
Hi.

I create a cron job to add some data and files to my CMS with user www-data, because user psacIn was not available. Folder will create, but not a file.

What i can do? Other user, set some permissions or some repair?

By the way...where do the cron logs find?
 
Hi.

I create a cron job to add some data and files to my CMS with user www-data, because user psacIn was not available. Folder will create, but not a file.

What i can do? Other user, set some permissions or some repair?

By the way...where do the cron logs find?
I do plesk repair. Now will not build a folder or files by user www-data.
 
Ok, a little more information:

I want to run a php-script-file by cronjob, that add a folder and a file to a domain structure. But if use root as cron-user will build folders and files as root owner. That do not work with my CMS. I've tested www-data user, but it will not create folder and files.

You already notice that I don't have much idea. What i can do?
 
I'm talking by myself. The solution is to add a cronjob by domain. Unfortunately, shows domain-cronjobs options for each domain only in dynamic view.

1652524698536.jpg
 
I'm talking by myself. The solution is to add a cronjob by domain. Unfortunately, shows domain-cronjobs options for each domain only in dynamic view.

There is a hidden menu which you can open by clicking the icon I've highlighted below. The menu also contains a link to setup cronjobs (and much more).
Schermafbeelding 2022-05-17 om 22.32.16.png
 
Back
Top