• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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