Crontab without pass


#1

Hi

I was trying to set a cron job, everything looks fine but the recommended cron line in the settings include my admin pass an all that. Is there a way to avoid putting plain text in a script?

Thanks


#2

Hi,
what’s the cron job that you are creating and in the case where it needs the admin password you could just create an user with admin rights, or use the admin user which is the best way only the admin and a few selects should have access to the admin panel.


#3

I am in scheduler and I press “cron express’on” which gives me the line below which is fine but I do not want to put plain text into cron scripts. I am wondering if there is a way to run these types of jobs without the user’s password.

*/5 * * * * php /var/www/pydio-core-8.2.1/cmd.php -r=ajxp_conf -u=MYUSER -p=YOUR_PASSWORD_HERE -a=scheduler_runAll >> /var/www/pydio-core-8.2.1/data/cache/cmd_outputs/cron_commands.log