14 lines
219 B
Bash
Executable file
14 lines
219 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Create crontab with current environment variables
|
|
(
|
|
printenv
|
|
echo
|
|
cat /crontab.tpl
|
|
) > /etc/cron.d/assembly-cron
|
|
|
|
# Install crontab
|
|
crontab /etc/cron.d/assembly-cron
|
|
|
|
# Run cron daemon
|
|
exec cron -f
|