SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
118
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SciPost
SciPost
Commits
1f75ddd7
Commit
1f75ddd7
authored
7 years ago
by
Jorran de Wit
Browse files
Options
Downloads
Patches
Plain Diff
WF hack to get crontab working
parent
5e280be5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cronjob_staging.sh
+1
-1
1 addition, 1 deletion
cronjob_staging.sh
notifications/views.py
+0
-2
0 additions, 2 deletions
notifications/views.py
with
1 addition
and
3 deletions
cronjob_staging.sh
+
1
−
1
View file @
1f75ddd7
...
@@ -3,4 +3,4 @@
...
@@ -3,4 +3,4 @@
cd
/home/jdewit/webapps/scipost/SciPost_v1/
cd
/home/jdewit/webapps/scipost/SciPost_v1/
export
DJANGO_SETTINGS_MODULE
=
'SciPost_v1.settings.staging_release'
export
DJANGO_SETTINGS_MODULE
=
'SciPost_v1.settings.staging_release'
python3.5 manage.py remind_fellows_to_submit_report
/usr/local/bin/
python3.5 manage.py remind_fellows_to_submit_report
This diff is collapsed.
Click to expand it.
notifications/views.py
+
0
−
2
View file @
1f75ddd7
...
@@ -3,8 +3,6 @@ from django.contrib.auth.models import User
...
@@ -3,8 +3,6 @@ from django.contrib.auth.models import User
from
django.forms
import
model_to_dict
from
django.forms
import
model_to_dict
from
django.http
import
JsonResponse
from
django.http
import
JsonResponse
from
django.shortcuts
import
get_object_or_404
,
redirect
from
django.shortcuts
import
get_object_or_404
,
redirect
from
django.utils.decorators
import
method_decorator
from
django.views.generic
import
ListView
from
.models
import
Notification
from
.models
import
Notification
from
.utils
import
id2slug
,
slug2id
from
.utils
import
id2slug
,
slug2id
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment