Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Commit

Permalink
Change: change cronjob to use new bin/crontab script
Browse files Browse the repository at this point in the history
  • Loading branch information
Tecnobutrul committed Jan 14, 2021
1 parent d7d3921 commit d76b0a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers/setup_cronjob.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cron_job() {
local process_email="$PASSBOLT_BASE_DIR/bin/cake EmailQueue.sender"
local process_email="$PASSBOLT_BASE_DIR/bin/cron"

if [ ! -f "$CRONTAB_DIR"/$WWW_USER ] || [ ! "$(grep -q "$process_email" "$CRONTAB_DIR/$WWW_USER" )" ]; then
echo "* * * * * $process_email" | crontab -u "$WWW_USER" -
Expand Down

0 comments on commit d76b0a1

Please sign in to comment.